-
Notifications
You must be signed in to change notification settings - Fork 95
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
Add support to enable migrateEncryption
option
#467
Comments
configuration_parameters
does not apply "migrate.encryptionMode" = "required"
I believe that this was meant for I'll transfer the issue. |
Try |
Hi, Thank you for the quick reply :) I tried with that option but still no luck... |
No worries. I took a look at the code last night and have an idea why this is not working and a possible fix I plan on testing in my available time next week. |
Thank you! I really appreciate the support |
Seems that it's one that is ignored by Similar issue in the sdk. Ryan |
Hmm so I’m guessing - this is a fix that is needed at the VMware level? |
No, actually if would need to be an enhancement request for this plugin to allow Since Ryan Johnson |
configuration_parameters
does not apply "migrate.encryptionMode" = "required"
migrateEncryption
option
Converted to an |
Is it possible we can modify the extraconfig via packer? |
That's what I submitted the following pull request to add some additional logging and update the docs in that regard. Take a look at the log output. |
Really appreciate it tenthiryam - sorry for all the questions; it's one of my first enhancement requests. |
It will just log that the item was ignored and include an update in the docs. |
So the only method is to manually make this change - automating it with packer is not a possibility? |
Correct. Or you could use a provisioner to do this with PowerCLI post build. |
Will look into that, thank you! |
Would you happen to have an example in the docs of setting up a provisioner with powercli for packer? |
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
The text was updated successfully, but these errors were encountered: