From 64b2ad1bfc3a28c3c329bd50b2b798504a64459a Mon Sep 17 00:00:00 2001 From: ysicing Date: Mon, 24 Dec 2018 10:31:31 +0800 Subject: [PATCH] [REV] fix add node path --- node/core/service/node_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/core/service/node_service.go b/node/core/service/node_service.go index 8f2a8f8cb..c1b9d4125 100644 --- a/node/core/service/node_service.go +++ b/node/core/service/node_service.go @@ -131,7 +131,7 @@ func (n *NodeService) AsynchronousInstall(node *client.HostNode) { } // start add node script logrus.Info("Begin add node, please don't exit") - line := fmt.Sprintf("cd /opt/rainbond/install/scripts; ./%s.sh %s %s %s %s %s %s", node.Role[0], node.HostName, + line := fmt.Sprintf("cd /opt/rainbond/rainbond-ansible/scripts; ./%s.sh %s %s %s %s %s %s", node.Role[0], node.HostName, node.InternalIP, linkModel, node.RootPass, node.KeyPath, node.ID) fileName := node.HostName + ".log"