KVM virtual machine boot from CD

<os>
  <type>hvm</type>
  <loader>/usr/lib/xen/boot/hvmloader</loader>
  <boot dev='network'/>
  <boot dev='cdrom'/>
  <boot dev='hd'/>
  <bootmenu enable='yes'/>
</os>



Which means the boot order is:

    boot from network like PXE boot
    boot from CD-ROM if no PXE boot
    boot from local hard disk if no PXE boot nor bootable CD
After adding the above configuration, F12 can choose the boot order

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326316350&siteId=291194637