feat(vmware): adding firmware choice support for vms

Now we have to tell witch boot firmware to use 'efi' of 'bios'
This commit is contained in:
Philippe Caseiro 2023-11-03 10:58:16 +01:00
parent 2b39ee3e29
commit 643c8e7547
2 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ resource "vsphere_virtual_machine" "vm" {
num_cpus = each.value.cpu
memory = each.value.ram
guest_id = each.value.guest_id
firmware = each.value.firmware
dynamic "network_interface" {
for_each = each.value.network_interfaces

View File

@ -5,6 +5,7 @@ variable "vms" {
cpu = number
ram = number
guest_id = string
firmware = string
disks = map(object({
size = string
thin_provisioned = bool