Charles M.C. Chan
Committed by Gerrit Code Review

Properly unset ONOS_IP environment variable in cell command

Change-Id: Ibf41e16c11b1c46a8258193640b4d7d18134ec88
...@@ -100,7 +100,7 @@ function cell { ...@@ -100,7 +100,7 @@ function cell {
100 if [ -n "$1" ]; then 100 if [ -n "$1" ]; then
101 [ ! -f $ONOS_ROOT/tools/test/cells/$1 ] && \ 101 [ ! -f $ONOS_ROOT/tools/test/cells/$1 ] && \
102 echo "No such cell: $1" >&2 && return 1 102 echo "No such cell: $1" >&2 && return 1
103 - unset ONOS_CELL ONOS_NIC ONOS_APPS ONOS_BOOT_FEATURES ONOS_USER ONOS_GROUP 103 + unset ONOS_CELL ONOS_NIC ONOS_IP ONOS_APPS ONOS_BOOT_FEATURES ONOS_USER ONOS_GROUP
104 unset OCI OCN OCT 104 unset OCI OCN OCT
105 unset ONOS_FEATURES # deprecated 105 unset ONOS_FEATURES # deprecated
106 unset $(env | sed -n 's:\(^OC[0-9]\{1,\}\)=.*:\1 :g p') 106 unset $(env | sed -n 's:\(^OC[0-9]\{1,\}\)=.*:\1 :g p')
......