summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-08-29 21:03:02 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-29 21:03:02 +0000
commit4e9134d73f7f52f10c637636dea2aa9b84b211a6 (patch)
tree8a54adba3a396789e9820b5e6831e9e702112186 /utils
parent1dd7217d50b163834e3b5a3d949af985ad7e9902 (diff)
parentaa6729c7a7f0034b6b51a41b4ca3f447b7411db2 (diff)
Merge "[fuel] Handle os cacert for baremetal deployments"
Diffstat (limited to 'utils')
-rwxr-xr-xutils/fetch_os_creds.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/fetch_os_creds.sh b/utils/fetch_os_creds.sh
index 312e1ac5c..377930d66 100755
--- a/utils/fetch_os_creds.sh
+++ b/utils/fetch_os_creds.sh
@@ -112,6 +112,10 @@ if [ "$installer_type" == "fuel" ]; then
info "Fetching rc file from controller $controller_ip..."
ssh ${ssh_options} ubuntu@${controller_ip} "sudo cat /root/keystonercv3" > $dest_path
+
+ if [[ $BUILD_TAG =~ "baremetal" ]]; then
+ ssh ${ssh_options} ubuntu@${installer_ip} "cat /etc/ssl/certs/os_cacert" > $os_cacert
+ fi
else
#ip_fuel="10.20.0.2"
env=$(sshpass -p r00tme ssh 2>/dev/null ${ssh_options} root@${installer_ip} \