diff options
author | 2017-11-10 16:39:25 +0000 | |
---|---|---|
committer | 2017-11-10 16:39:25 +0000 | |
commit | 323368adf57395f8cb3dab33d04bad453b433eb2 (patch) | |
tree | 7bcaf58ce65ea06debb987ff4d2dc3c0563eb9ef | |
parent | f336990e8804d33cd643a2bf5172a1d1730a46b8 (diff) | |
parent | aa90e36dd25675bff00da117f085a5fde61a4fd5 (diff) |
Merge "Modify the fuel deployment type judgement in fetch-os_creds.sh"
-rwxr-xr-x | utils/fetch_os_creds.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/fetch_os_creds.sh b/utils/fetch_os_creds.sh index ac7595053..4bc585885 100755 --- 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}" - 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 |