Browse Source

Implement qcow2 backing file feature (#61)

* Implement qcow2 backing file feature

Signed-off-by: Zasda Yusuf Mikail <zasdaym@gmail.com>

* Disable qemu-img output message

Signed-off-by: Zasda Yusuf Mikail <zasdaym@gmail.com>

* Remove unnecessary argument on disk creation

Signed-off-by: Zasda Yusuf Mikail <zasdaym@gmail.com>
pull/63/head v0.10.9
Zasda Yusuf Mikail 6 years ago committed by GitHub
parent
commit
5351f3bf03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      kvm-install-vm

2
kvm-install-vm

@ -627,7 +627,7 @@ _EOF_
outputn "Copying cloud image ($(basename ${IMAGE}))"
DISK=${VMNAME}.qcow2
cp $IMAGE $DISK && ok
qemu-img create -q -f qcow2 -F qcow2 -b $IMAGE $DISK && ok
if $RESIZE_DISK
then
outputn "Resizing the disk to $DISK_SIZE"

Loading…
Cancel
Save