vmdb2(1)

vmdb21

Create a disk image with debian installed

Usage

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

Overview

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.

Options

-h, --help

show this help message and exit

--image=FILE

use existing image file/device FILE

--output=FILE

create new image FILE (the size comes from the specification file)

--rootfs-tarball=FILE

store rootfs cache tar archives in FILE

-v, --verbose

verbose output

--log=FILE

write log entries to FILE (default is to not write log files at all)

--version

show program's version number and exit

Examples

To build a disk image:

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

Releases

Unchanged in 3 releases since Debian 11 (Bullseye).

  1. 11–13

From vmdb2 0.40-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.