updated for new subnet

This commit is contained in:
Charles N Wyble - admin 2020-03-01 17:10:07 -05:00
parent 397d0a47ac
commit 8eaaa21280

View File

@ -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