File tree Expand file tree Collapse file tree
builtin/providers/vsphere Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -459,9 +459,7 @@ func TestAccVSphereVirtualMachine_createWithCdrom(t *testing.T) {
459459
460460func TestAccVSphereVirtualMachine_createWithExistingVmdk (t * testing.T ) {
461461 vmdk_path := os .Getenv ("VSPHERE_VMDK_PATH" )
462- gateway := os .Getenv ("VSPHERE_IPV4_GATEWAY" )
463462 label := os .Getenv ("VSPHERE_NETWORK_LABEL" )
464- ip_address := os .Getenv ("VSPHERE_IPV4_ADDRESS" )
465463
466464 var vm virtualMachine
467465 var locationOpt string
@@ -489,10 +487,7 @@ func TestAccVSphereVirtualMachine_createWithExistingVmdk(t *testing.T) {
489487 Config : fmt .Sprintf (
490488 testAccCheckVSphereVirtualMachineConfig_withExistingVmdk ,
491489 locationOpt ,
492- gateway ,
493490 label ,
494- ip_address ,
495- gateway ,
496491 datastoreOpt ,
497492 vmdk_path ,
498493 ),
@@ -1078,12 +1073,8 @@ resource "vsphere_virtual_machine" "with_existing_vmdk" {
10781073%s
10791074 vcpu = 2
10801075 memory = 4096
1081- gateway = "%s"
10821076 network_interface {
10831077 label = "%s"
1084- ipv4_address = "%s"
1085- ipv4_prefix_length = 24
1086- ipv4_gateway = "%s"
10871078 }
10881079 disk {
10891080%s
You can’t perform that action at this time.
0 commit comments