update
This commit is contained in:
@@ -14,12 +14,12 @@ echo -e "${CS[color,LightGreen]}LinUPx 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 gogs@git.schroedercity.com:voltron/LinUPx.git /opt/idssys/LinUPx
|
do_with_root git clone git@git.schroedercity.com:voltron/LinUPx.git /opt/idssys/LinUPx
|
||||||
do_with_root ln -s /opt/idssys/LinUPx/run.sh /usr/local/bin/runup
|
do_with_root ln -s /opt/idssys/LinUPx/run.sh /usr/local/bin/runup
|
||||||
|
|
||||||
if [ ! -d "/opt/idssys/defaults" ]; then
|
if [ ! -d "/opt/idssys/defaults" ]; then
|
||||||
do_with_root set -eu
|
do_with_root set -eu
|
||||||
do_with_root git clone gogs@git.schroedercity.com:voltron/iDS-Defaults.git /opt/idssys/defaults
|
do_with_root git clone git@git.schroedercity.com:voltron/iDS-Defaults.git /opt/idssys/defaults
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "useAutoremove=1
|
echo -e "useAutoremove=1
|
||||||
|
|||||||
@@ -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 gogs@git.schroedercity.com:voltron/NodeMgmt.git /opt/idssys/nodemgmt
|
do_with_root git clone git@git.schroedercity.com:voltron/NodeMgmt.git /opt/idssys/nodemgmt
|
||||||
do_with_root ln -s /opt/idssys/nodemgmt/run.sh /usr/local/bin/nodemgmt
|
do_with_root ln -s /opt/idssys/nodemgmt/run.sh /usr/local/bin/nodemgmt
|
||||||
|
|
||||||
if [ ! -d "/opt/idssys/defaults" ]; then
|
if [ ! -d "/opt/idssys/defaults" ]; then
|
||||||
do_with_root set -eu
|
do_with_root set -eu
|
||||||
do_with_root git clone gogs@git.schroedercity.com:voltron/iDS-Defaults.git /opt/idssys/defaults
|
do_with_root git clone git@git.schroedercity.com:voltron/iDS-Defaults.git /opt/idssys/defaults
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "node_hostname=$(hostname)" > /opt/idssys/nodemgmt/settings.conf
|
echo -e "node_hostname=$(hostname)" > /opt/idssys/nodemgmt/settings.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user