Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement option vmtype to select between raw or qcow2 #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 14, 2021

  1. Implement option vmtype to select between raw or qcow2

    qcow2 is a growable format not taking so much space from the beginning.
    Instead of creating a raw image and converting it to qcow2 with
    `qemu-img convert`
    
        $ qemu-img convert -f raw -O qcow2 debian.img debian.qcow2
    
    add a switch `--vmtype` allowing to specify the type of the virtual
    machine file, which is used in `qemu-img create -f`.
    
    It looks like though, installing the system into that file using NBD is
    twice as slow.
    
        $ sudo ~/src/grml-debootstrap/grml-debootstrap --arch amd64 --release sid --filesystem ext4 --vmfile
    paulmenzel committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    65dbf3c View commit details
    Browse the repository at this point in the history