diff --git a/install-nodemgmt.sh b/install-nodemgmt.sh index 961e571..29759c6 100755 --- a/install-nodemgmt.sh +++ b/install-nodemgmt.sh @@ -15,11 +15,12 @@ do_with_root $APTFUNC -y install wget curl git do_with_root set -eu do_with_root git clone --recurse-submodules https://git.schroedercity.com/voltron/NodeMgmt.git /opt/NodeMgmt +cd /opt/NodeMgmt +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 -#cd /opt/NodeMgmt -#git config --global submodule.recurse true echo "" echo -e "${CS[color,LightYellow]}NodeMgmt has been Installed${CS[color,Default]}"