summaryrefslogtreecommitdiffstats
path: root/lib/installer
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-03-23 14:31:09 -0400
committerDan Radez <dradez@redhat.com>2016-03-24 21:47:25 -0400
commit012f1d08b075ec53d3b1174cfd7a93b246385d08 (patch)
treea4ea79ed5356fba2ce5cd417048fece5cd610918 /lib/installer
parent5f38edb9a96df7d5927d9b91039144bf4d5f0912 (diff)
Renaming Instack to Undercloud
This commit is not backwards compatible with cleaning. VMs named Instack will need to be manually removed. Change-Id: I6829119e43a0a572da07e6d9757c5208c7fe91d4
Diffstat (limited to 'lib/installer')
-rw-r--r--lib/installer/onos/onos_gw_mac_update.sh4
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