folder change

This commit is contained in:
2019-01-27 15:29:53 -06:00
parent 4c3a2d9722
commit 3fd1874efc
3 changed files with 20 additions and 23 deletions

View File

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