Use br-external instead of br-public 09/23109/2
authorMichael Chapman <woppin@gmail.com>
Thu, 13 Oct 2016 15:44:42 +0000 (02:44 +1100)
committerMichael Chapman <woppin@gmail.com>
Thu, 13 Oct 2016 16:00:03 +0000 (03:00 +1100)
We changed the names of all these a while ago, but didn't update
the onos post-install script.

JIRA: APEX-281
Change-Id: Ib617d7f3dd0879da4e89d032cd694519fc0de557
Signed-off-by: Michael Chapman <woppin@gmail.com>
lib/installer/onos/onos_gw_mac_update.sh

index 93e63c8..3b3b072 100644 (file)
@@ -38,7 +38,7 @@ EOI
   fi
 
   # get gateway mac
-  GW_MAC=$(arping ${GW_IP} -c 1 -I br-public | grep -Eo '([0-9a-fA-F]{2})(([/\s:-][0-9a-fA-F]{2}){5})')
+  GW_MAC=$(arping ${GW_IP} -c 1 -I br-external | grep -Eo '([0-9a-fA-F]{2})(([/\s:-][0-9a-fA-F]{2}){5})')
 
   if [ -z "$GW_MAC" ]; then
     echo "ERROR: Failed to find gateway mac for ${GW_IP}"