]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Create qcow2 images directly at manual setup
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 6 Oct 2017 17:45:00 +0000 (14:45 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 6 Oct 2017 17:45:00 +0000 (14:45 -0300)
README.md

index 1a1eab975968c85bc5f41ee3783fee710a0e3ff2..21c0e3546461c947f501cbb404b0d6ead3e480c3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -65,13 +65,10 @@ Then, before, doing `kvmx up`, do something like the following example:
     # Create the environment
     kvmx init <guest> /var/cache/qemu/<guest>
     cd /var/cache/qemu/<guest>
-    qemu-img create -f raw box.raw 10G
+    qemu-img create -f qcow2 box.img 10G
 
     # Install the Operating System
-    kvm -m 2048 -net nic,model=virtio -net user -drive file=box.raw,format=raw -cdrom ~/path/to/installation.iso 
-
-    # Convert image to qcow2 format
-    qemu-img convert -O qcow2 box.raw box.img
+    kvm -m 2048 -net nic,model=virtio -net user -drive file=box.img -cdrom ~/path/to/installation.iso 
 
 If you want OpenSSH functionality, make sure to create an user and set a password
 related to the configuration present at the project's `kvmxfile`. Also, make sure