marvin: fix smoke test failures if mgmt server is Ubuntu (#7583)

This commit is contained in:
Wei Zhou 2023-06-27 11:57:02 +02:00 committed by GitHub
parent 83dca2bf51
commit f3ad9e6743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ def _configure_ssh_credentials(hypervisor):
if (str(hypervisor).lower() == 'vmware'
or str(hypervisor).lower() == 'hyperv'):
ssh_command = "ssh -i /var/cloudstack/management/.ssh/id_rsa -ostricthostkeychecking=no "
ssh_command = "ssh -i ~cloud/.ssh/id_rsa -ostricthostkeychecking=no "
return ssh_command