diff options
Diffstat (limited to 'scripts/post_apex.sh')
-rwxr-xr-x | scripts/post_apex.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/post_apex.sh b/scripts/post_apex.sh index 56caccd..fc4276f 100755 --- a/scripts/post_apex.sh +++ b/scripts/post_apex.sh @@ -1,7 +1,5 @@ #!/bin/bash -overcloud_file_name=overcloudrc # change this if needed -NODE_PATTERN=overcloud -overcloudrc_path=/root/$overcloud_file_name +. $(dirname "$0")/variables.sh undercloud_ip=`arp -a | grep $(virsh domiflist undercloud | grep default | awk '{print $5}') | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+"` #echo $undercloud_ip |