We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b541fe1 commit a9ffb59Copy full SHA for a9ffb59
quickemu
@@ -1960,7 +1960,7 @@ function vm_boot() {
1960
args+=(-boot order=d
1961
-drive if=ide,index=2,media=cdrom,file="${iso}")
1962
iso=""
1963
- elif [ -n "${iso}" ] && [ "${guest_os}" == "windows" ] && [ -e "${VMDIR}/unattended.iso" ]; then
+ elif [ -n "${iso}" ] && { [ "${guest_os}" == "windows" ] || [ "${guest_os}" == "windows-server" ]; } && [ -e "${VMDIR}/unattended.iso" ]; then
1964
# Attach the unattended configuration to Windows guests when booting from ISO
1965
# shellcheck disable=SC2054
1966
args+=(-drive media=cdrom,index=2,file="${VMDIR}/unattended.iso")
0 commit comments