VMDB2(1) General Commands Manual VMDB2(1)

vmdb2 - create a disk image with Debian installed

vmdb2 [--image=FILE] [--output=FILE] [--rootfs-tarball=FILE] [-h|--help] [--version] [-v|--verbose] [--log=FILE] [FILE]... vmdb SPECFILE

vmdb2 reads a specification file that describes a disk image, and builds the corresponding image. The specification file uses YAML syntax, and contains a list of steps. Each step tells vmdb2 what to do next.

show this help message and exit
use existing image file/device FILE
create new image FILE (the size comes from the specification file)
store rootfs cache tar archives in FILE
verbose output
write log entries to FILE (default is to not write log files at all)
show program's version number and exit

To build a disk image:

vmdb2 foo.vmdb --output foo.img -v --rootfs-tarball foo.tar.gz

debootstrap(8).

https://vmdb2.liw.fi/

/usr/share/doc/vmdb2/manual.html