Hello,
kvm could start a VM with a specific ROM.
Could you add an option in Hardware section / network card to specify a ROM file ?
Proxmox VE 6.2.10 : pve-manager/6.2-10/a20769ed (running kernel: 5.4.44-2-pve)
QEMU emulator version 5.0.0 (pve-qemu-kvm_5.0.0)
First gather the command launhed by PVE :
Then edit the file and add to the network card ,romfile=pxe-rtl8139.rom
Finally run it :
As we can see on the screenshot the iPXE's version And HTTPS feature enabled.
I think the problem is in below file arround $use_old_bios_files variable.
Thanks
kvm could start a VM with a specific ROM.
Could you add an option in Hardware section / network card to specify a ROM file ?
Proxmox VE 6.2.10 : pve-manager/6.2-10/a20769ed (running kernel: 5.4.44-2-pve)
QEMU emulator version 5.0.0 (pve-qemu-kvm_5.0.0)
Bash:
# compile ROM for realtek 8139 (It could be bin/virtio-net.rom, ...)
$ git clone https://git.ipxe.org/ipxe.git
$ cd ipxe
$ cd src/
$ sed -i 's/#undef[[:space:]]*\(DOWNLOAD_PROTO_HTTPS\)/#define \1/' config/general.h
$ make bin/rtl8139.rom EMBED=script.ipxe TRUST=$CATRUST
$ mv bin/rtl8139.rom /usr/share/kvm/pxe-rtl8139.rom
First gather the command launhed by PVE :
qm showcmd 113 --pretty > /tmp/kvm113.launch
Then edit the file and add to the network card ,romfile=pxe-rtl8139.rom
Diff:
+ -device 'rtl8139,mac=3E:18:7F:AA:AA:AA,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=100,romfile=pxe-rtl8139.rom' \
- -device 'rtl8139,mac=3E:18:7F:AA:AA:AA,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=100' \
Finally run it :
. /tmp/kvm113.launch
As we can see on the screenshot the iPXE's version And HTTPS feature enabled.
I think the problem is in below file arround $use_old_bios_files variable.
vim +1550 /usr/share/perl5/PVE/QemuServer.pm
Thanks