nodemgmt folder change
This commit is contained in:
@@ -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 ""
|
||||
|
||||
@@ -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]}"
|
||||
|
||||
Reference in New Issue
Block a user