nodemgmt folder change

This commit is contained in:
2019-01-27 15:08:56 -06:00
parent 0ca5473bb2
commit d79c4feb5f
2 changed files with 5 additions and 5 deletions

View File

@@ -14,11 +14,11 @@ echo -e "${CS[color,LightGreen]}NodeMgmt Installation Script${CS[color,Default]}
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
cd /opt/NodeMgmt
do_with_root git clone --recurse-submodules gogs@git.schroedercity.com:voltron/NodeMgmt.git /opt/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
do_with_root ln -s /opt/nodemgmt/run.sh /usr/local/bin/nodemgmt
echo -e "node_hostname=$(hostname)" > /opt/nodemgmt/settings.conf
echo ""

View File

@@ -14,7 +14,7 @@ echo -e "${CS[color,LightGreen]}NodeMgmt Removal Script${CS[color,Default]}"
do_with_root set -eu
rm -f /usr/local/bin/nodemgmt
rm -Rf /opt/NodeMgmt
rm -Rf /opt/nodemgmt
echo ""
echo -e "${CS[color,LightRed]}NodeMgmt has been Removed${CS[color,Default]}"