update
This commit is contained in:
@@ -419,14 +419,14 @@ NODEUPDATE(){
|
||||
ssh-copy-id root@${nip}
|
||||
fi
|
||||
if ! ${NCMD} command -v nodemgmt > /dev/null 2>&1; then
|
||||
echo 'yes'
|
||||
${NCMD} "bash <(curl -sL https://go.scity.us/install-nodemgmt)" </dev/null 2>&1
|
||||
${NMCMD} rsync -az ${NM_FOLDER}/conf/*.inc ${NM_FOLDER}/conf/*.conf root@${nip}:${NM_FOLDER}/conf/ </dev/null 2>&1
|
||||
${NMCMD} rsync -az ${NM_FOLDER}/conf/powerwall ${NM_FOLDER}/conf/*.conf root@${nip}:${NM_FOLDER}/conf/ </dev/null 2>&1
|
||||
sleep 2s
|
||||
source /opt/idssys/nodemgmt/conf/settings.conf
|
||||
source /opt/idssys/nodemgmt/defaults.inc
|
||||
[ "${NM_GITPASS}" != "" ] && [ "${NM_GITUSER^^}" == "VOLTRON" ] && ${NMCMD} "bash <(curl -sL https://go.scity.us/add-linux-pass)" </dev/null 2>&1
|
||||
# [ "${NM_GITPASS}" != "" ] && [ "${NM_GITUSER^^}" == "VOLTRON" ] &&
|
||||
${NMCMD} "bash <(curl -sL https://go.scity.us/add-linux-pass)" </dev/null 2>&1
|
||||
echo -e "${idsCL[Green]}Installed & Synced${idsCL[Default]}" >> ${tmpfile}.running
|
||||
elif [ ${noup} -eq 1 ]; then
|
||||
echo -e "${idsCL[Green]}Already Installed${idsCL[Default]}" >> ${tmpfile}.running
|
||||
|
||||
Reference in New Issue
Block a user