salt-ext-modules-vmware
salt-ext-modules-vmware copied to clipboard
tests.integration.modules.test_vm : test_ovf_deploy
salt.exceptions.VMwareApiError: ['Host did not have any virtual network defined.']
def test_ovf_deploy(integration_test_config, patch_salt_globals_vm):
"""
Test deploy virtual machine through an OVF
"""
> res = virtual_machine.deploy_ovf(
vm_name="test1",
host_name=integration_test_config["esxi_host_name"],
ovf_path="tests/test_files/centos-7-tools.ovf",
)