feat: Add Windows Server 2008 support (#130)

This commit is contained in:
Kroese 2024-01-29 09:12:32 +01:00 committed by GitHub
parent a9ceb9387e
commit f89c485156
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 292 additions and 3 deletions

View file

@ -454,7 +454,7 @@ detectImage() {
dsc=$(printVersion "$DETECTED")
[ -z "$dsc" ] && dsc="$DETECTED"
warn "got $desc, but no matching XML file exists, $FB."
warn "got $dsc, but no matching XML file exists, $FB."
return 0
fi
@ -508,7 +508,7 @@ prepareImage() {
local iso="$1"
local dir="$2"
if [[ "${BOOT_MODE,,}" == "windows" ]]; then
if [[ "${BOOT_MODE,,}" == "windows" ]] && [[ "${DETECTED,,}" != "win2008"* ]]; then
if [[ "${DETECTED,,}" != "win7x64"* ]] && [[ "${DETECTED,,}" != "winvistax64"* ]]; then
if [ -f "$dir/$ETFS" ] && [ -f "$dir/$EFISYS" ]; then