When attempting to add "migrate.encryptionMode" = "required" via configuration_parameters option in .pkr.hcl - this setting does not get added to the .vmx file; thus the change does not occur on the template/vm.
Reproduction Steps
Update configuration_parameters with "migrate.encryptionMode" = "required" and validate if Encrypted vMotion is set to required.
Summary
When attempting to add
"migrate.encryptionMode" = "required"
viaconfiguration_parameters
option in.pkr.hcl
- this setting does not get added to the.vmx
file; thus the change does not occur on the template/vm.Reproduction Steps
Update
configuration_parameters
with"migrate.encryptionMode" = "required"
and validate if Encrypted vMotion is set to required.Plugin and Packer version
Packer v1.10.2
Simplified Packer Buildfile
Operating system and Environment details
Windows Server 2022
Log Fragments and crash.log files
No error in logs