Skip to content

Commit

Permalink
feat: enable virtual hardware-assisted virtualization
Browse files Browse the repository at this point in the history
Add explicit option to enable virtual hardware-assisted virtualization.

#41
  • Loading branch information
tenthirtyam committed Jul 2, 2024
1 parent 41d13a1 commit a715e6f
Show file tree
Hide file tree
Showing 5 changed files with 158 additions and 139 deletions.
3 changes: 3 additions & 0 deletions .web-docs/components/builder/iso/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ necessary for this build to succeed and can be found further down the page.
- `snapshot_name` (string) - This is the name of the initial snapshot created after provisioning and cleanup.
if left blank, no initial snapshot will be created

- `vhv_enabled` (bool) - Enable virtual hardware-assisted virtualization for the virtual machine.
Defaults to `false`.

<!-- End of code generated from the comments of the Config struct in builder/vmware/iso/config.go; -->


Expand Down
3 changes: 3 additions & 0 deletions builder/vmware/iso/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ type Config struct {
// This is the name of the initial snapshot created after provisioning and cleanup.
// if left blank, no initial snapshot will be created
SnapshotName string `mapstructure:"snapshot_name" required:"false"`
// Enable virtual hardware-assisted virtualization for the virtual machine.
// Defaults to `false`.
HardwareAssistedVirtualization bool `mapstructure:"vhv_enabled" required:"false"`

ctx interpolate.Context
}
Expand Down
Loading

0 comments on commit a715e6f

Please sign in to comment.