diff options
author | Tim Rozet <trozet@redhat.com> | 2016-03-28 14:51:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-03-28 14:51:30 +0000 |
commit | 78e41283e118e234c8559e8386abaeb19ac30480 (patch) | |
tree | 61dcbfd58441364ff3a4800a37dc7eb613ec5624 /lib/installer | |
parent | 9d3cab8d46e5823fee43a0b6c2f19d5dccfa4c3a (diff) | |
parent | 012f1d08b075ec53d3b1174cfd7a93b246385d08 (diff) |
Merge "Renaming Instack to Undercloud"
Diffstat (limited to 'lib/installer')
-rw-r--r-- | lib/installer/onos/onos_gw_mac_update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/installer/onos/onos_gw_mac_update.sh b/lib/installer/onos/onos_gw_mac_update.sh index 323021db..93e63c8e 100644 --- a/lib/installer/onos/onos_gw_mac_update.sh +++ b/lib/installer/onos/onos_gw_mac_update.sh @@ -21,9 +21,9 @@ function onos_update_gw_mac { if [ -z "$UNDERCLOUD" ]; then #if not found then dnsmasq may be using leasefile-ro - instack_mac=$(virsh domiflist instack | grep default | \ + undercloud_mac=$(virsh domiflist undercloud | grep default | \ grep -Eo "[0-9a-f\]+:[0-9a-f\]+:[0-9a-f\]+:[0-9a-f\]+:[0-9a-f\]+:[0-9a-f\]+") - UNDERCLOUD=$(/usr/sbin/arp -e | grep ${instack_mac} | awk {'print $1'}) + UNDERCLOUD=$(/usr/sbin/arp -e | grep ${undercloud_mac} | awk {'print $1'}) fi # get controller ip address controller_ip=$(ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI |