mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2025-04-30 17:18:43 +00:00
One path for qcow2 images
This commit is contained in:
parent
90a87a0219
commit
9cd51bb13a
2 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
NAME=NAME_PLACEHOLDER
|
||||
|
||||
NIX_DISK_IMAGE=$(readlink -f ${NIX_DISK_IMAGE:-./${NAME}.qcow2})
|
||||
NIX_DISK_IMAGE=NIX_DISK_IMAGE_PLACEHOLDER
|
||||
|
||||
if ! test -e "$NIX_DISK_IMAGE"; then
|
||||
qemu-img create -f qcow2 "$NIX_DISK_IMAGE" 512M || exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue