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

configuration_parameters does not apply "migrate.encryptionMode" = "required" #467

Open
jlouisfoster opened this issue Sep 19, 2024 · 2 comments
Assignees
Labels
Milestone

Comments

@jlouisfoster
Copy link

jlouisfoster commented Sep 19, 2024

Summary

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.

Plugin and Packer version

Packer v1.10.2

Simplified Packer Buildfile

  network_adapters {
    network      = var.vm_network
    network_card = var.network_card
  }

  configuration_parameters = {
    "tools.guest.desktop.autolock" = "FALSE"
    "log.keepOld" = "15"
    "migrate.encryptionMode" = "required"
  }

Operating system and Environment details

Windows Server 2022

Log Fragments and crash.log files

No error in logs

@tenthirtyam tenthirtyam self-assigned this Sep 19, 2024
@tenthirtyam tenthirtyam added this to the Backlog milestone Sep 19, 2024
@tenthirtyam tenthirtyam changed the title configuration_parameters does not apply "migrate.encryptionMode" = "required" configuration_parameters does not apply "migrate.encryptionMode" = "required" Sep 19, 2024
@tenthirtyam
Copy link
Collaborator

I believe that this was meant for hashicorp/packer-plugin-vsphere for VMware vSphere where the configuration_parameters is an option.

I'll transfer the issue.

@tenthirtyam tenthirtyam transferred this issue from hashicorp/packer-plugin-vmware Sep 19, 2024
@tenthirtyam
Copy link
Collaborator

Try "migrateEncryption" = "required".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants