summaryrefslogtreecommitdiffstats
path: root/lib/installer/onos/onos_gw_mac_update.sh
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-10-17 12:15:46 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-17 12:15:46 +0000
commitc6eeb47c4a497425bc9c2406063aef1fd57cc0c2 (patch)
treedfae1e88b391a464c996ef89ab36c5ab55247b53 /lib/installer/onos/onos_gw_mac_update.sh
parent13f0429bb3ae64b48320b53d713c89ad8c47f46c (diff)
parent38a14021bfd7f5a24a34d4b4d3424ce47d4f0117 (diff)
Merge "Use br-external instead of br-public"
Diffstat (limited to 'lib/installer/onos/onos_gw_mac_update.sh')
-rw-r--r--lib/installer/onos/onos_gw_mac_update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/installer/onos/onos_gw_mac_update.sh b/lib/installer/onos/onos_gw_mac_update.sh
index 93e63c8e..3b3b0724 100644
--- a/lib/installer/onos/onos_gw_mac_update.sh
+++ b/lib/installer/onos/onos_gw_mac_update.sh
@@ -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}"