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

Option not available to change the BIOS type #163

Closed
harshit0921 opened this issue Sep 8, 2020 · 4 comments · Fixed by #217
Closed

Option not available to change the BIOS type #163

harshit0921 opened this issue Sep 8, 2020 · 4 comments · Fixed by #217

Comments

@harshit0921
Copy link

harshit0921 commented Sep 8, 2020

Terraform Version
Terraform v0.12.24

Affected Resource(s)
nutanix_virtual_machine
Terraform Configuration Files

Create VM with a disk that references an image:

resource "nutanix_virtual_machine" "MyVM_TF" {
  for_each         	= toset(var.vm-name)
  name             	= each.value
  description          = "Created by ${var.nutanix-user}"
  cluster_uuid         = var.cluster-uuid
  num_vcpus_per_socket = 1
  num_sockets          = 4
  memory_size_mib      = 12288

  nic_list {
    subnet_uuid = var.vm-subnet-uuid
  }

  disk_list {
  data_source_reference = {
   kind = "image"
   uuid = var.nutanix-image-uuid
    }
   }

}

Debug Output
None

Panic Output
None

Expected Behavior
The BIOS type is selected as UEFI

Actual Behavior
The BIOS type is selected as Legacy BIOS

Steps to Reproduce
Create a VM with an image
Check the properties of the VM

When creating a VM through terraform, I am unable to select the BIOS as UEFI. The created VM always has legacy BIOS selected.
Even in the documentation, I wasn't able to find any option to select the BIOS type.

@harshit0921
Copy link
Author

Hi @marinsalinas can you please look into this. Thanks

@MaxPeal
Copy link

MaxPeal commented Nov 10, 2020

Please also don't forget the settings for secure boot

@marinsalinas
Copy link
Contributor

@harshit0921 @MaxPeal added a fix on #217 can you take a look?

@MaxPeal
Copy link

MaxPeal commented Dec 8, 2020

Not at the moment as I have no dedicated test system

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 a pull request may close this issue.

3 participants