Update install-nodemgmt.sh

This commit is contained in:
2019-01-27 13:46:03 -06:00
parent 1740020763
commit da6c00728f

View File

@@ -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]}"