prepare-volatile-img.sh: create volatile.img group accessible
Otherwise qvm-create-default-dvm may fail to include it in saved-cows.tar, which will lead to DispVM being not really disposable. Fixes QubesOS/qubes-issues#2200
This commit is contained in:
parent
d0ddb3d17c
commit
2908992741
@ -20,5 +20,6 @@ if [ -e "$FILENAME" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
umask 002
|
||||||
TOTAL_SIZE=$[ $ROOT_SIZE + $SWAP_SIZE + 512 ]
|
TOTAL_SIZE=$[ $ROOT_SIZE + $SWAP_SIZE + 512 ]
|
||||||
truncate -s ${TOTAL_SIZE}M "$FILENAME"
|
truncate -s ${TOTAL_SIZE}M "$FILENAME"
|
||||||
|
Loading…
Reference in New Issue
Block a user