mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
feat: Add Windows Server 2008 support (#130)
This commit is contained in:
parent
a9ceb9387e
commit
f89c485156
3 changed files with 292 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue