feat: Allow filenames in VERSION (#381)
This commit is contained in:
1 parent
56cb787c55
commit
2a98081549
2 files changed
+2
-1
No files matched your search
@@ -93,6 +93,7 @@ fi
|
||||
CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname custom.iso -printf "%f\n" | head -n 1)
|
||||
[ -z "$CUSTOM" ] && CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname boot.iso -printf "%f\n" | head -n 1)
|
||||
[ -z "$CUSTOM" ] && CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname custom.img -printf "%f\n" | head -n 1)
|
||||
[ -z "$CUSTOM" ] && CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname "${VERSION/\/storage\//}" -printf "%f\n" | head -n 1)
|
||||
|
||||
ESD_URL=""
|
||||
MACHINE="q35"
|
||||
|
||||
Reference in new issue
Block a user