Skip to content

Add support to enable migrateEncryption option #467

@jlouisfoster

Description

@jlouisfoster

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions