vm-upload must be run as user root

This commit is contained in:
Raphael Dannecker 2024-02-05 12:59:23 +01:00
parent ccec0f7fea
commit d285b9dbf0
5 changed files with 7 additions and 19 deletions

View file

@ -72,7 +72,7 @@ qemu-img rebase -f qcow2 -b "${NEWBASE}" -F qcow2 "${VM_NAME}.qcow2"
if [[ -v NEWNAME ]]; then
NEWNAME="${NEWNAME}.qcow2"
else
rm "${CURRENTBASE}"
rm -f "${CURRENTBASE}"
NEWNAME="${CURRENTBASE}"
fi