Change bootorder VM

  • 17 November 2016
  • 3 replies
  • 8436 views

Userlevel 2
Badge +15
How do i change the boot order on a VM in AHV?

I want it to boot on the NIC as 1. priority - or something else..

3 replies

Userlevel 1
Badge +6
Hello,

to change the boot order you could make use of an acli command:
acli vm.update_boot_device

http://nutanixbible.com/ shows how to set which disk device maybe used. If you would like to boot via nic1 you could try this:

acli vm.list
shows VMs first

VM name VM UUID
docker-rdp 01f0b5f2-f6fb-420a-8a22-ce02a682155f

acli vm.nic_list docker-rdp
show nics belonging to the VM

Mac Address IP Address Network UUID Network Name52:54:00:2c:ff:03 baf59683-73c0-4b86-9936-28f4aff9d961 VLAN0

acli vm.update_boot_device docker-rdp mac_addr=52:54:00:2c:ff:03

Happy network booting :-)

Regards,
Thomas
Userlevel 7
Badge +30
vm.update_boot_device

https://portal.nutanix.com/#/page/docs/details?targetId=AMF_Guide-AOS_v4_7:man_acli_vm_auto_r.html
Hello,

I was able to successfully get my VM to boot to NIC with tfindelk's suggestion. But I would also like the VM to boot to disk if NIC boot fails (or key stroke not pressed in time. F12 is required for WDS).

Is this possible?


Hello,

to change the boot order you could make use of an acli command:
acli vm.update_boot_device

http://nutanixbible.com/ shows how to set which disk device maybe used. If you would like to boot via nic1 you could try this:

acli vm.list
shows VMs first

VM name VM UUID
docker-rdp 01f0b5f2-f6fb-420a-8a22-ce02a682155f

acli vm.nic_list docker-rdp
show nics belonging to the VM

Mac Address IP Address Network UUID Network Name52:54:00:2c:ff:03 baf59683-73c0-4b86-9936-28f4aff9d961 VLAN0

acli vm.update_boot_device docker-rdp mac_addr=52:54:00:2c:ff:03

Happy network booting :-)

Regards,
Thomas



Reply