From 928819975c9429237971613e8e00e756a02606b5 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 4 Jun 2015 10:58:04 +0200 Subject: [PATCH 1/1] Improve --vm and --vmfile usage instructions Fixes #45 @ github --- grml-debootstrap | 10 ++++++---- grml-debootstrap.8.txt | 7 ++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/grml-debootstrap b/grml-debootstrap index 02498cc..d15849d 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -116,10 +116,12 @@ Bootstrap options: Options for Virtual Machine deployment: - --vm Set up a Virtual Machine, instead of plainly installing - to a partition or directory, to be combined with --target, - like: --vm --target /dev/mapper/your-vm-disk - --vmfile Like --vm, but install into a file (raw format). + --vm Set up a Virtual Machine on an existing block device + instead of plainly installing to a partition or + directory. Needs to be combined with --target. + Example: --vm --target /dev/mapper/your-vm-disk + --vmfile Like --vm, but install into a regular file (created by + 'qemu-img create -f raw ...') instead. Example: --vmfile --target /mnt/sda1/qemu.img --vmsize Use specified size for size of VM file (default: 2G). Syntax as supported by qemu-img, like: --vmsize 3G diff --git a/grml-debootstrap.8.txt b/grml-debootstrap.8.txt index 245978e..e585719 100644 --- a/grml-debootstrap.8.txt +++ b/grml-debootstrap.8.txt @@ -222,9 +222,10 @@ Options and environment variables *--vmfile*:: - Set up a Virtual Machine instead of installing to a partition or directory. - This allows deployment of a Virtual Machine. The options needs to be - combined with the --target option. + Set up a Virtual Machine using a regular file instead of installing to a + partition/block device or directory. This allows deployment of a Virtual + Machine. The options needs to be combined with the --target option + ('qemu-img create -f raw ...' is executed on the specified target). Usage example: --vmfile --target /mnt/sda1/qemu.img *--vmsize* _size_:: -- 2.1.4