Correct typo

This commit is contained in:
Martin Wimpress 2021-10-08 02:42:08 +01:00
parent 632f1c682c
commit d7e2407bc9
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3

View file

@ -666,7 +666,7 @@ function vm_boot() {
args+=(-drive media=cdrom,index=1,file="${fixed_iso}") args+=(-drive media=cdrom,index=1,file="${fixed_iso}")
fi fi
# Attached the unattended configuration to Windows guests when booting from ISO # Attach the unattended configuration to Windows guests when booting from ISO
if [ -n "${iso}" ] && [ "${guest_os}" == "windows" ] && [ -e "${VMDIR}/unattended.iso" ]; then if [ -n "${iso}" ] && [ "${guest_os}" == "windows" ] && [ -e "${VMDIR}/unattended.iso" ]; then
# shellcheck disable=SC2054 # shellcheck disable=SC2054
args+=(-drive media=cdrom,index=2,file="${VMDIR}/unattended.iso") args+=(-drive media=cdrom,index=2,file="${VMDIR}/unattended.iso")