disable unsupported customization parameters (#6656)
This commit is contained in:
parent
390b0d5ab9
commit
279eead08e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue