Skip to content

Commit

Permalink
feat: rephrase keep_registered documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-espie authored and lbajolet-hashicorp committed Nov 21, 2023
1 parent a81cbbd commit f8dd6ac
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .web-docs/components/builder/iso/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ created, must be empty prior to running the builder. By default this is

- `keep_registered` (bool) - If "true", Packer will not delete the VM from
The Hyper-V manager.
The resulting VM will be housed in a randomly generated folder under %TEMP% by default.
You can set the `temp_path` variable to change the location of the folder.

- `skip_compaction` (bool) - If true skip compacting the hard disk for
the virtual machine when exporting. This defaults to false.
Expand Down
2 changes: 2 additions & 0 deletions .web-docs/components/builder/vmcx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ In HCL2:

- `keep_registered` (bool) - If "true", Packer will not delete the VM from
The Hyper-V manager.
The resulting VM will be housed in a randomly generated folder under %TEMP% by default.
You can set the `temp_path` variable to change the location of the folder.

- `skip_compaction` (bool) - If true skip compacting the hard disk for
the virtual machine when exporting. This defaults to false.
Expand Down
2 changes: 2 additions & 0 deletions builder/hyperv/common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ type CommonConfig struct {
Version string `mapstructure:"configuration_version" required:"false"`
// If "true", Packer will not delete the VM from
// The Hyper-V manager.
// The resulting VM will be housed in a randomly generated folder under %TEMP% by default.
// You can set the `temp_path` variable to change the location of the folder.
KeepRegistered bool `mapstructure:"keep_registered" required:"false"`
// If true skip compacting the hard disk for
// the virtual machine when exporting. This defaults to false.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@

- `keep_registered` (bool) - If "true", Packer will not delete the VM from
The Hyper-V manager.
The resulting VM will be housed in a randomly generated folder under %TEMP% by default.
You can set the `temp_path` variable to change the location of the folder.

- `skip_compaction` (bool) - If true skip compacting the hard disk for
the virtual machine when exporting. This defaults to false.
Expand Down

0 comments on commit f8dd6ac

Please sign in to comment.