Closed vinodhini-devops closed 1 year ago
The OS is not set for windows vm, I have given guestos as Windows, when the vm is created it shows as Other in os field #190
resource "esxi_guest" "default" { count = 1
guest_name = "terraformVM1" guestos = "Windows" numvcpus = 4 memsize = 1024 boot_disk_size = 60 disk_store = "DataStore2" network_interfaces { virtual_network = "VM Network" }
}
This is creating a vm but the OS is populating as OTHER
I don't think 'windows' is a valid guestos type... I put together a wiki page that was used for Vagrant, but it's relevant here too... Replace "windows" with another choice from the list and give it a try.
https://github.com/josenk/vagrant-vmware-esxi/wiki/VMware-ESXi-6.5-guestOS-types
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Terraform files Provide a minimalist main.tf and other terraform files that reproduces your issue. If your problem is related to terraform plan/apply/etc, most likely these files will be REQUIRED.
Desktop (please complete the following information):
Additional context