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

Allow guest Vm to run in ESXi nested host #210

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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