Skip to content

Commit 279eead

Browse files
thetuxkeeperstack72
authored andcommitted
disable unsupported customization parameters (hashicorp#6656)
1 parent 390b0d5 commit 279eead

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

builtin/providers/vsphere/resource_vsphere_virtual_machine_test.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,7 @@ func TestAccVSphereVirtualMachine_createWithCdrom(t *testing.T) {
459459

460460
func 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

0 commit comments

Comments
 (0)