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)" (#2194)

This reverts commit 6d63213.
  • Loading branch information
spacegospod authored May 8, 2024
1 parent b631ed8 commit e09a957
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# <!-- markdownlint-disable first-line-h1 no-inline-html -->

## 2.8.1 (May 08, 2024)

BUG FIX:

* `resource/virtual_machine`: Reverts removing the default values for `ept_rvi_mode` and `hv_mode`
from the virtual machine configuration.
([#2194](https://github.com/terraform-providers/terraform-provider-vsphere/pull/2194))

## 2.8.0 (May 07, 2024)

BUG FIX:
Expand Down
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 e09a957

Please sign in to comment.