folder change
This commit is contained in:
@@ -14,12 +14,15 @@ 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
|
||||
do_with_root ln -s /opt/nodemgmt/run.sh /usr/local/bin/nodemgmt
|
||||
do_with_root git clone gogs@git.schroedercity.com:voltron/NodeMgmt.git /opt/idssys/nodemgmt
|
||||
do_with_root ln -s /opt/idssys/nodemgmt/run.sh /usr/local/bin/nodemgmt
|
||||
|
||||
cd /opt/nodemgmt
|
||||
do_with_root git submodule foreach git pull origin master
|
||||
echo -e "node_hostname=$(hostname)" > /opt/nodemgmt/settings.conf
|
||||
if [ ! -d "/opt/idssys/defaults" ]; then
|
||||
do_with_root set -eu
|
||||
do_with_root git clone gogs@git.schroedercity.com:voltron/iDS-Defaults.git /opt/idssys/defaults
|
||||
fi
|
||||
|
||||
echo -e "node_hostname=$(hostname)" > /opt/idssys/nodemgmt/settings.conf
|
||||
|
||||
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user