updated for new subnet
This commit is contained in:
parent
397d0a47ac
commit
8eaaa21280
@ -20,7 +20,7 @@ ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime
|
|||||||
|
|
||||||
MGMT_INT=$(netstat -rn|grep 0.0.0.0|head -n1|awk '{print $NF}')
|
MGMT_INT=$(netstat -rn|grep 0.0.0.0|head -n1|awk '{print $NF}')
|
||||||
PFV_MGMT_IP=$(ifconfig $MGMT_INT|grep inet|grep 10.251 -c)
|
PFV_MGMT_IP=$(ifconfig $MGMT_INT|grep inet|grep 10.251 -c)
|
||||||
OVH_MGMT_IP=$(ifconfig $MGMT_INT|grep inet|grep 10.253 -c)
|
OVH_MGMT_IP=$(ifconfig $MGMT_INT|grep inet|grep 10.222 -c)
|
||||||
|
|
||||||
if [ $PFV_MGMT_IP -eq 1 ]; then
|
if [ $PFV_MGMT_IP -eq 1 ]; then
|
||||||
tsysSysLocation=pfv
|
tsysSysLocation=pfv
|
||||||
|
Loading…
Reference in New Issue
Block a user