Update install-nodemgmt.sh

This commit is contained in:
2019-01-27 15:16:37 -06:00
parent d79c4feb5f
commit 23dffb36df

View File

@@ -15,9 +15,10 @@ do_with_root $APTFUNC -y install wget curl git
do_with_root set -eu
do_with_root git clone --recurse-submodules gogs@git.schroedercity.com:voltron/NodeMgmt.git /opt/nodemgmt
do_with_root ln -s /opt/nodemgmt/run.sh /usr/local/bin/nodemgmt
cd /opt/nodemgmt
do_with_root git submodule foreach git pull origin master
do_with_root ln -s /opt/nodemgmt/run.sh /usr/local/bin/nodemgmt
echo -e "node_hostname=$(hostname)" > /opt/nodemgmt/settings.conf