[FIX] Modify the rainbond-node startup parameters

This commit is contained in:
ysicing 2017-11-27 16:32:31 +08:00
parent f49a56c11b
commit 212ab85650

View File

@ -10,7 +10,7 @@ if [ -z $NODE_TYPE ];then
ACP_NODE_OPTS="--log-level=debug --static-task-path=/usr/share/gr-rainbond-node/gaops/tasks/ --etcd=http://$ETCD_ADDR:2379 --kube-conf=/etc/goodrain/kubernetes/kubeconfig --hostIP=$HOSTIP --run-mode master --noderule ${ROLE:-manage}"
else
ACP_NODE_OPTS='--log-level=debug --static-task-path=/usr/share/gr-rainbond-node/gaops/tasks/ --etcd=http://127.0.0.1:2379 --hostIP=$HOSTIP'
ACP_NODE_OPTS='--log-level=debug --static-task-path=/usr/share/gr-rainbond-node/gaops/tasks/ --etcd=http://127.0.0.1:2379 --kube-conf=/etc/goodrain/kubernetes/kubeconfig --hostIP=$HOSTIP'
fi
exec /usr/local/bin/rainbond-node $ACP_NODE_OPTS