vmbuilder --version (return code: 0)
2017-09-25 15:10:39,825 INFO : logging to file: /tmp/tmpiKOEC7
0.12.4
vmbuilder --help (return code: 0)
2017-09-25 15:10:39,742 INFO : logging to file: /tmp/tmpsNAk49
Usage: vmbuilder hypervisor distro [options]
Options:
-h, --help show this help message and exit
--version Show version information
Build options:
--debug Show debug information
-v, --verbose Show progress information
-q, --quiet Silent operation
-o, --overwrite Remove destination directory before starting build
-c CONFIG, --config=CONFIG
Configuration file
--templates=DIR Prepend DIR to template search path.
-d DESTDIR, --destdir=DESTDIR
Destination directory
--only-chroot Only build the chroot. Don't install it on disk images
or anything.
--chroot-dir=CHROOT_DIR
Build the chroot in directory.
--existing-chroot=EXISTING_CHROOT
Use existing chroot.
-t DIR, --tmp=DIR Use TMP as temporary working space for image
generation. Defaults to $TMPDIR if it is defined or
/tmp otherwise. [default: /tmp]
--tmpfs=SIZE Use a tmpfs as the working directory, specifying its
size or "-" to use tmpfs default (suid,dev,size=1G).
Disk:
--rootsize=SIZE Size (in MB) of the root filesystem [default: 4096]
--optsize=SIZE Size (in MB) of the /opt filesystem. If not set, no
/opt filesystem will be added.
--swapsize=SIZE Size (in MB) of the swap partition [default: 1024]
--raw=PATH Specify a file (or block device) to use as first disk
image (can be specified multiple times).
--part=PATH Specify a partition table in PATH. Each line of
partfile should specify (root first): mountpoint
size one per line, separated by space, where size is
in megabytes. You can have up to 4 virtual disks, a
new disk starts on a line containing only '---'. ie:
root 2000 /boot 512 swap 1000 ---
/var 8000 /var/log 2000