diff --git a/install-nodemgmt.sh b/install-nodemgmt.sh index fd190e3..3c87640 100755 --- a/install-nodemgmt.sh +++ b/install-nodemgmt.sh @@ -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