Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable virtual hardware-assisted virtualization #213

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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