Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Change the path of images from pre_config/ to images/"
[releng.git]
/
utils
/
fetch_os_creds.sh
diff --git
a/utils/fetch_os_creds.sh
b/utils/fetch_os_creds.sh
index
ac75950
..
4bc5858
100755
(executable)
--- a/
utils/fetch_os_creds.sh
+++ b/
utils/fetch_os_creds.sh
@@
-114,7
+114,7
@@
if [ "$installer_type" == "fuel" ]; then
ssh ${ssh_options} "${ssh_user}@${controller_ip}" \
"sudo cat /root/keystonercv3" > "${dest_path}"
ssh ${ssh_options} "${ssh_user}@${controller_ip}" \
"sudo cat /root/keystonercv3" > "${dest_path}"
- if [[
"${BUILD_TAG}" =~ "baremetal"
]]; then
+ if [[
! "${BUILD_TAG}" =~ 'virtual'
]]; then
ssh ${ssh_options} "${ssh_user}@${installer_ip}" \
"cat /etc/ssl/certs/os_cacert" > "${os_cacert}"
fi
ssh ${ssh_options} "${ssh_user}@${installer_ip}" \
"cat /etc/ssl/certs/os_cacert" > "${os_cacert}"
fi