Update install-nodemgmt.sh
This commit is contained in:
@@ -15,9 +15,10 @@ do_with_root $APTFUNC -y install wget curl git
|
|||||||
|
|
||||||
do_with_root set -eu
|
do_with_root set -eu
|
||||||
do_with_root git clone --recurse-submodules gogs@git.schroedercity.com:voltron/NodeMgmt.git /opt/nodemgmt
|
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
|
||||||
|
|
||||||
cd /opt/nodemgmt
|
cd /opt/nodemgmt
|
||||||
do_with_root git submodule foreach git pull origin master
|
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
|
echo -e "node_hostname=$(hostname)" > /opt/nodemgmt/settings.conf
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user