[FIX] remove dev shell url

This commit is contained in:
goodrain 2017-12-26 09:49:55 +08:00
parent 373cdff5f9
commit 988987a707

View File

@ -365,7 +365,7 @@ func (n *NodeCluster) checkNodeInstall(node *model.HostNode) {
etcd = strings.Join(etcdConfig.Value.([]string), ",")
}
}
initshell := "dev.repo.goodrain.com/gaops/jobs/install/prepare/init.sh"
initshell := "repo.goodrain.com/gaops/jobs/install/prepare/init.sh"
etcd = etcd + ","
cmd := fmt.Sprintf("bash -c \"set %s %s %s;$(curl -s %s)\"", node.ID, etcd, role, initshell)
logrus.Infof("init endpoint node cmd is %s", cmd)