Skip to content

Conversation

@narenas
Copy link

@narenas narenas commented Sep 18, 2023

This comes from our use case, where we have an ESXi nested host and we have to set manually the proerty monitor.allowLegacyCPU to TRUE.

It works both, cloning the guest or creating it from and exixting template.

resource "esxi_guest" "vmtest-tf" {
  guest_name              = "test"
  disk_store                 = "test"
  #guest_startup_timeout  = 600
  #boot_disk_size         = 1
  #memsize		  = 1024
  power	                  = "on"
  #numvcpus               = 1

  #
  #  Specify an existing guest to clone, an ovf source, or neither to build a bare-metal guest vm.
  #
  clone_from_vm      = "/source_machine"
  nested_esxi        = "y"

}

Please, feel free to let me know if there is something i should correct/improve as it is the first time i´m doing a PR and i would be happy to revise.

Regards and thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant