- info "Fetching rc file from controller $controller_ip..."
- ssh ${ssh_options} ubuntu@${controller_ip} "sudo cat /root/keystonercv3" > $dest_path
+ info "... from controller ${controller_ip} ..."
+ ssh ${ssh_options} "${ssh_user}@${controller_ip}" \
+ "sudo cat /root/keystonercv3" > "${dest_path}"
+
+ if [[ ! "${BUILD_TAG}" =~ 'virtual' ]]; then
+ ssh ${ssh_options} "${ssh_user}@${installer_ip}" \
+ "cat /etc/ssl/certs/os_cacert" > "${os_cacert}"
+ fi