Skip to content

Commit

Permalink
Revert "fix: remove default values for ept_rvi_mode and hv_mode (#…
Browse files Browse the repository at this point in the history
…2172)"

This reverts commit 6d63213.
  • Loading branch information
spacegospod authored May 8, 2024
1 parent b631ed8 commit 1e504ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vsphere/virtual_machine_config_structure.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,14 @@ func schemaVirtualMachineConfigSpec() map[string]*schema.Schema {
"hv_mode": {
Type: schema.TypeString,
Optional: true,
Default: string(types.VirtualMachineFlagInfoVirtualExecUsageHvAuto),
Description: "The (non-nested) hardware virtualization setting for this virtual machine. Can be one of hvAuto, hvOn, or hvOff.",
ValidateFunc: validation.StringInSlice(virtualMachineVirtualExecUsageAllowedValues, false),
},
"ept_rvi_mode": {
Type: schema.TypeString,
Optional: true,
Default: string(types.VirtualMachineFlagInfoVirtualMmuUsageAutomatic),
Description: "The EPT/RVI (hardware memory virtualization) setting for this virtual machine. Can be one of automatic, on, or off.",
ValidateFunc: validation.StringInSlice(virtualMachineVirtualMmuUsageAllowedValues, false),
},
Expand Down

0 comments on commit 1e504ad

Please sign in to comment.