Update nodemgmt-scripts.sh
This commit is contained in:
@@ -418,7 +418,7 @@ NODEUPDATE(){
|
|||||||
echo -e "${idsCL[Yellow]}[${nip}] New server, needs SSH credentials${idsCL[Default]}"
|
echo -e "${idsCL[Yellow]}[${nip}] New server, needs SSH credentials${idsCL[Default]}"
|
||||||
ssh-copy-id root@${nip}
|
ssh-copy-id root@${nip}
|
||||||
fi
|
fi
|
||||||
if ! ${NCMD} command -v nodemgmt < /dev/null 2>&1; then
|
if ! ${NCMD} command -v nodemgmt > /dev/null 2>&1; then
|
||||||
echo 'yes'
|
echo 'yes'
|
||||||
${NCMD} "bash <(curl -sL https://go.scity.us/install-nodemgmt)" </dev/null 2>&1
|
${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/*.inc ${NM_FOLDER}/conf/*.conf root@${nip}:${NM_FOLDER}/conf/ </dev/null 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user