Attach the ISO to an ahci-cd emulated device. The

ISO will appear to be mounted on a /dev/cd device
instead of /dev/vtbd.  This is similar to how other
virtualization environments handle mounting ISO images.

Reviewed by: neel
This commit is contained in:
Craig Rodrigues 2014-09-12 02:38:10 +00:00
parent 263be6a9d1
commit f0be756181
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271447

View File

@ -196,7 +196,7 @@ while [ 1 ]; do
exit 1
fi
BOOTDISK=${isofile}
installer_opt="-s 31:0,virtio-blk,${BOOTDISK}"
installer_opt="-s 31:0,ahci-cd,${BOOTDISK}"
else
BOOTDISK=${virtio_diskdev}
installer_opt=""