Code Review
/
releng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 2:
53ca024
)
Merge "xci: Fix the list of blocking jobs for osa-periodic jobs"
author
Fatih Degirmenci
<fatih.degirmenci@ericsson.com>
Fri, 1 Sep 2017 23:00:23 +0000
(23:00 +0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Fri, 1 Sep 2017 23:00:23 +0000
(23:00 +0000)
utils/fetch_os_creds.sh
patch
|
blob
|
history
diff --git
a/utils/fetch_os_creds.sh
b/utils/fetch_os_creds.sh
index
72bebad
..
0e2a2b9
100755
(executable)
--- a/
utils/fetch_os_creds.sh
+++ b/
utils/fetch_os_creds.sh
@@
-149,7
+149,7
@@
if [ "$installer_type" == "fuel" ]; then
elif [ "$installer_type" == "apex" ]; then
if ! ipcalc -c $installer_ip; then
- installer_ip=$(virsh domifaddr undercloud | grep -Eo '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')
+ installer_ip=$(
sudo
virsh domifaddr undercloud | grep -Eo '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')
if [ -z "$installer_ip" ] || ! $(ipcalc -c $installer_ip); then
echo "Unable to find valid IP for Apex undercloud: ${installer_ip}"
exit 1