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) {
|
func TestAccVSphereVirtualMachine_createWithExistingVmdk(t *testing.T) {
|
||||||
vmdk_path := os.Getenv("VSPHERE_VMDK_PATH")
|
vmdk_path := os.Getenv("VSPHERE_VMDK_PATH")
|
||||||
gateway := os.Getenv("VSPHERE_IPV4_GATEWAY")
|
|
||||||
label := os.Getenv("VSPHERE_NETWORK_LABEL")
|
label := os.Getenv("VSPHERE_NETWORK_LABEL")
|
||||||
ip_address := os.Getenv("VSPHERE_IPV4_ADDRESS")
|
|
||||||
|
|
||||||
var vm virtualMachine
|
var vm virtualMachine
|
||||||
var locationOpt string
|
var locationOpt string
|
||||||
|
@ -489,10 +487,7 @@ func TestAccVSphereVirtualMachine_createWithExistingVmdk(t *testing.T) {
|
||||||
Config: fmt.Sprintf(
|
Config: fmt.Sprintf(
|
||||||
testAccCheckVSphereVirtualMachineConfig_withExistingVmdk,
|
testAccCheckVSphereVirtualMachineConfig_withExistingVmdk,
|
||||||
locationOpt,
|
locationOpt,
|
||||||
gateway,
|
|
||||||
label,
|
label,
|
||||||
ip_address,
|
|
||||||
gateway,
|
|
||||||
datastoreOpt,
|
datastoreOpt,
|
||||||
vmdk_path,
|
vmdk_path,
|
||||||
),
|
),
|
||||||
|
@ -1078,12 +1073,8 @@ resource "vsphere_virtual_machine" "with_existing_vmdk" {
|
||||||
%s
|
%s
|
||||||
vcpu = 2
|
vcpu = 2
|
||||||
memory = 4096
|
memory = 4096
|
||||||
gateway = "%s"
|
|
||||||
network_interface {
|
network_interface {
|
||||||
label = "%s"
|
label = "%s"
|
||||||
ipv4_address = "%s"
|
|
||||||
ipv4_prefix_length = 24
|
|
||||||
ipv4_gateway = "%s"
|
|
||||||
}
|
}
|
||||||
disk {
|
disk {
|
||||||
%s
|
%s
|
||||||
|
|
Loading…
Reference in New Issue