summaryrefslogtreecommitdiffstats
path: root/lib/utility-functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utility-functions.sh')
-rw-r--r--lib/utility-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utility-functions.sh b/lib/utility-functions.sh
index bf4128a0..5c28b46c 100644
--- a/lib/utility-functions.sh
+++ b/lib/utility-functions.sh
@@ -24,7 +24,7 @@ function undercloud_connect {
##outputs the Undercloud's IP address
##params: none
function get_undercloud_ip {
- echo $(arp -a | grep $(virsh domiflist undercloud | grep default |\
+ echo $(arp -an | grep $(virsh domiflist undercloud | grep default |\
awk '{print $5}') | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+")
}