Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1428,10 +1428,10 @@ SERVICE(){
|
|||||||
NCMD="ssh root@${nip}"
|
NCMD="ssh root@${nip}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$GO=true;
|
GO=true;
|
||||||
if [ "${2}" = "gitea" ]; then
|
if [ "${2}" = "gitea" ]; then
|
||||||
if [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *10.5.10.120* ]]; then
|
if [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *10.5.10.120* ]]; then
|
||||||
$GO=false;
|
GO=false;
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user