Merge 2e2429ee75 into 82df57dadf
This commit is contained in:
commit
e7164ea284
2
quickemu
2
quickemu
|
|
@ -1960,7 +1960,7 @@ function vm_boot() {
|
|||
args+=(-boot order=d
|
||||
-drive if=ide,index=2,media=cdrom,file="${iso}")
|
||||
iso=""
|
||||
elif [ -n "${iso}" ] && [ "${guest_os}" == "windows" ] && [ -e "${VMDIR}/unattended.iso" ]; then
|
||||
elif [ -n "${iso}" ] && [[ "${guest_os}" == "windows"* ]] && [ -e "${VMDIR}/unattended.iso" ]; then
|
||||
# Attach the unattended configuration to Windows guests when booting from ISO
|
||||
# shellcheck disable=SC2054
|
||||
args+=(-drive media=cdrom,index=2,file="${VMDIR}/unattended.iso")
|
||||
|
|
|
|||
Loading…
Reference in New Issue