mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 12:15:50 +00:00
Update install.sh
adding ability to provide a custom.iso with a custom automatic install file (answerfile / custom.xml)
This commit is contained in:
parent
cafb187d26
commit
07a628a53c
1 changed files with 5 additions and 1 deletions
|
|
@ -533,7 +533,11 @@ detectImage() {
|
||||||
local dir="$1"
|
local dir="$1"
|
||||||
|
|
||||||
if [ -n "$CUSTOM" ]; then
|
if [ -n "$CUSTOM" ]; then
|
||||||
DETECTED=""
|
if [ -f "/run/assets/custom.xml" ]; then
|
||||||
|
DETECTED="custom"
|
||||||
|
else
|
||||||
|
DETECTED=""
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if [ -z "$DETECTED" ] && [[ "$EXTERNAL" != [Yy1]* ]]; then
|
if [ -z "$DETECTED" ] && [[ "$EXTERNAL" != [Yy1]* ]]; then
|
||||||
DETECTED="$VERSION"
|
DETECTED="$VERSION"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue