Am 08.01.2015 um 06:14 schrieb Dietmar Maurer:
They come from the following piece of code:
# qemu > 0.15 always try to boot from network - we disable that by
# not loading the pxe rom file
  $extra = ($bootorder !~ m/n/) ? "romfile=," : '';
...
  $tmpstr =
"$device,${extra}mac=$net->{macaddr},netdev=$netid$pciaddr,id=$netid";

Is this still valid or does this still makes any sense?


Just tested, and 'romfile=," is stil required - else the VM starts to boot from
network.
Not sure if there is a better solution to disable net boot?

What's wrong with:
    push @$cmd, '-boot', "menu=on,strict=on";

If we set strict=on qemu only tries the devices we explicitly set to boot. So network is not tried even without the romfile option.

Greets,
Stefan

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to