mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Cleanup
This commit is contained in:
parent
eb0022f855
commit
213092dcd8
@ -16,6 +16,11 @@ fi
|
|||||||
|
|
||||||
BASE=$(basename "$URL" .pat)
|
BASE=$(basename "$URL" .pat)
|
||||||
|
|
||||||
|
rm -f "$IMG"/"$BASE".pat
|
||||||
|
rm -f "$IMG"/"$BASE".agent
|
||||||
|
rm -f "$IMG"/"$BASE".boot.img
|
||||||
|
rm -f "$IMG"/"$BASE".system.img
|
||||||
|
|
||||||
echo "Install: Downloading extractor..."
|
echo "Install: Downloading extractor..."
|
||||||
|
|
||||||
TMP="$IMG/tmp"
|
TMP="$IMG/tmp"
|
||||||
@ -133,7 +138,7 @@ cp /agent/service.sh $LOC/agent.sh
|
|||||||
chmod +x $LOC/agent.sh
|
chmod +x $LOC/agent.sh
|
||||||
|
|
||||||
# Store agent version
|
# Store agent version
|
||||||
echo "2" > "$IMG"/agent.ver
|
echo "2" > "$IMG"/"$BASE".agent
|
||||||
|
|
||||||
if [ "$PRIVILEGED" = false ]; then
|
if [ "$PRIVILEGED" = false ]; then
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user