From 279eead08e433dfe4cfdb20a426e2d83f4fac56b Mon Sep 17 00:00:00 2001 From: thetuxkeeper Date: Fri, 13 May 2016 16:56:15 +0200 Subject: [PATCH] disable unsupported customization parameters (#6656) --- .../vsphere/resource_vsphere_virtual_machine_test.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/builtin/providers/vsphere/resource_vsphere_virtual_machine_test.go b/builtin/providers/vsphere/resource_vsphere_virtual_machine_test.go index d4a2738f36..c048e8ac9b 100644 --- a/builtin/providers/vsphere/resource_vsphere_virtual_machine_test.go +++ b/builtin/providers/vsphere/resource_vsphere_virtual_machine_test.go @@ -459,9 +459,7 @@ func TestAccVSphereVirtualMachine_createWithCdrom(t *testing.T) { func TestAccVSphereVirtualMachine_createWithExistingVmdk(t *testing.T) { vmdk_path := os.Getenv("VSPHERE_VMDK_PATH") - gateway := os.Getenv("VSPHERE_IPV4_GATEWAY") label := os.Getenv("VSPHERE_NETWORK_LABEL") - ip_address := os.Getenv("VSPHERE_IPV4_ADDRESS") var vm virtualMachine var locationOpt string @@ -489,10 +487,7 @@ func TestAccVSphereVirtualMachine_createWithExistingVmdk(t *testing.T) { Config: fmt.Sprintf( testAccCheckVSphereVirtualMachineConfig_withExistingVmdk, locationOpt, - gateway, label, - ip_address, - gateway, datastoreOpt, vmdk_path, ), @@ -1078,12 +1073,8 @@ resource "vsphere_virtual_machine" "with_existing_vmdk" { %s vcpu = 2 memory = 4096 - gateway = "%s" network_interface { label = "%s" - ipv4_address = "%s" - ipv4_prefix_length = 24 - ipv4_gateway = "%s" } disk { %s