summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2014-09-12 02:38:10 +0000
committerrodrigc <rodrigc@FreeBSD.org>2014-09-12 02:38:10 +0000
commit6045d9f9ce73e5bafcef06cbd6e386aa61d2f6df (patch)
tree0c4d1a644d8af10c683550ca5b7c3d7270e03c66 /share
parentb118acaf2cb6871a7976a53b67f8cf5641e6b6b8 (diff)
downloadFreeBSD-src-6045d9f9ce73e5bafcef06cbd6e386aa61d2f6df.zip
FreeBSD-src-6045d9f9ce73e5bafcef06cbd6e386aa61d2f6df.tar.gz
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
Diffstat (limited to 'share')
-rwxr-xr-xshare/examples/bhyve/vmrun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/bhyve/vmrun.sh b/share/examples/bhyve/vmrun.sh
index 793a63d..889ad46 100755
--- a/share/examples/bhyve/vmrun.sh
+++ b/share/examples/bhyve/vmrun.sh
@@ -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=""
OpenPOWER on IntegriCloud