- ssh ${ssh_options} "${ssh_user}@${installer_ip}" \
- "cat /etc/ssl/certs/os_cacert" > "${os_cacert}" || touch "${os_cacert}"
+ if [[ ! "${BUILD_TAG}" =~ 'virtual' ]]; then
+ ssh ${ssh_options} "${ssh_user}@${installer_ip}" \
+ "cat /etc/ssl/certs/os_cacert" > "${os_cacert}"
+ fi