salt-ext-modules-vmware icon indicating copy to clipboard operation
salt-ext-modules-vmware copied to clipboard

tests.integration.modules.test_vm : test_ovf_deploy

Open waynew opened this issue 3 years ago • 0 comments

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",
        )

waynew avatar Dec 01 '21 22:12 waynew