Start CD-ROMs at logical index 0

This commit is contained in:
Martin Wimpress 2020-03-21 15:20:13 +00:00
parent 2a59ad8b15
commit 2dfe88bd5a
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3

View file

@ -173,12 +173,12 @@ function vm_boot() {
fi
if [ -n "${iso}" ] && [ -e "${iso}" ]; then
local ISO_BOOT="-drive media=cdrom,file="${iso}",index=2"
local ISO_BOOT="-drive media=cdrom,file=${iso},index=0"
echo " - Boot: ${iso}"
fi
if [ -n "${driver_iso}" ] && [ -e "${driver_iso}" ]; then
local ISO_DRIVER="-drive media=cdrom,file="${driver_iso}",index=3"
local ISO_DRIVER="-drive media=cdrom,file=${driver_iso},index=1"
echo " - Drivers: ${driver_iso}"
fi