Browse Source

Using backing image instead of copy for qemu image. From lukejr.

tags/0.1
devrandom 8 years ago
parent
commit
5e77059137
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      libexec/make-clean-vm

+ 1
- 1
libexec/make-clean-vm View File

@@ -45,7 +45,7 @@ BASE=base-$SUITE-$ARCH-root
OUT=target-$SUITE-$ARCH-root

if [ -z "$USE_LXC" ]; then
cp $BASE.qcow2 $OUT.qcow2
qemu-img create -f qcow2 -o backing_file="$BASE.qcow2" "$OUT.qcow2"
else
sudo rm -rf $OUT
sudo cp -a $BASE $OUT

Loading…
Cancel
Save