Hi. How do I attach a CD-ROM device (in this case an ISO file) to a VM without
bhyve booting into it?
bhyve -c 1 -m 512M -w -H \
-s 0,hostbridge \
-s 3,ahci-cd,/media/Debian-11.1.0-amd64-DVD-1.iso \
-s 4,virtio-blk,/dev/zvol/zroot/bhyve_vms/debianvm \
-s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait \
-s 31,lpc \
-l com1,stdio \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd debianvm
/dev/zvol/zroot/bhyve_vms/debianvm already contains the installed OS, so now I
want to boot into it while still having access to the packages on the ISO (to
selectively install packages I want).
--
Sent with https://mailfence.com
Secure and private email