mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 05:20:02 +08:00
fix: File support
This commit is contained in:
parent
143a2151fb
commit
b1d53b42ca
@ -301,7 +301,12 @@ rm -rf "$MOUNT"
|
||||
|
||||
echo "$BASE" > "$STORAGE"/dsm.ver
|
||||
|
||||
mv -f "$PAT" "$STORAGE"/"$BASE".pat
|
||||
if [[ "$URL" == "file://${STORAGE}/${BASE}.pat" ]]; then
|
||||
rm -f "$PAT"
|
||||
else
|
||||
mv -f "$PAT" "$STORAGE"/"$BASE".pat
|
||||
fi
|
||||
|
||||
mv -f "$BOOT" "$STORAGE"/"$BASE".boot.img
|
||||
mv -f "$SYSTEM" "$STORAGE"/"$BASE".system.img
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user