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:
parent
2b39ee3e29
commit
643c8e7547
|
@ -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
|
||||
|
|
|
@ -5,6 +5,7 @@ variable "vms" {
|
|||
cpu = number
|
||||
ram = number
|
||||
guest_id = string
|
||||
firmware = string
|
||||
disks = map(object({
|
||||
size = string
|
||||
thin_provisioned = bool
|
||||
|
|
Loading…
Reference in New Issue