Update install-nodemgmt.sh

This commit is contained in:
2019-01-27 13:37:42 -06:00
parent a4dd362bc0
commit 1740020763

View File

@@ -14,12 +14,12 @@ echo -e "${CS[color,LightGreen]}NodeMgmt Installation Script${CS[color,Default]}
do_with_root $APTFUNC -y install wget curl git do_with_root $APTFUNC -y install wget curl git
do_with_root set -eu do_with_root set -eu
do_with_root git clone https://git.schroedercity.com/voltron/NodeMgmt.git /opt/NodeMgmt do_with_root git clone --recurse-submodules https://git.schroedercity.com/voltron/NodeMgmt.git /opt/NodeMgmt
do_with_root ln -s /opt/NodeMgmt/run.sh /usr/local/bin/nodemgmt do_with_root ln -s /opt/NodeMgmt/run.sh /usr/local/bin/nodemgmt
echo -e "node-hostname=$(hostname)" > /opt/NodeMgmt/settings.conf echo -e "node-hostname=$(hostname)" > /opt/NodeMgmt/settings.conf
cd /opt/NodeMgmt #cd /opt/NodeMgmt
git config --global submodule.recurse true #git config --global submodule.recurse true
echo "" echo ""
echo -e "${CS[color,LightYellow]}NodeMgmt has been Installed${CS[color,Default]}" echo -e "${CS[color,LightYellow]}NodeMgmt has been Installed${CS[color,Default]}"