From da6c00728f5e9eb00075630b8f42d8f9e32f475c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 27 Jan 2019 13:46:03 -0600 Subject: [PATCH] Update install-nodemgmt.sh --- install-nodemgmt.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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]}"