default set to unattended BIOS copy

This commit is contained in:
Michael H.G. Schmidt 2023-01-11 15:26:22 +01:00
parent 3a07f6be4f
commit 8b5dd3630f

View File

@ -63,9 +63,9 @@ echo - use "fat32" for UEFI based installations only!
echo REASON: UEFI cannot read "exfat" filesystems and Windows setup will throw error code: 0x80042565 echo REASON: UEFI cannot read "exfat" filesystems and Windows setup will throw error code: 0x80042565
echo. echo.
set answer= set answer=B
:ask :ask
set /p answer="BIOS or UEFI setup (B/U)? " set /p answer="BIOS(default) or UEFI setup (B/U)? "
if /i "%answer:~,1%" EQU "B" ( if /i "%answer:~,1%" EQU "B" (
echo selected: BIOS echo selected: BIOS
copy /Y image\autounattend_BIOS_template.xml %USBDRIVE%\autounattend.xml copy /Y image\autounattend_BIOS_template.xml %USBDRIVE%\autounattend.xml