summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Terceiro <terceiro@debian.org>2019-02-18 22:39:56 -0300
committerLars Wirzenius <liw@liw.fi>2019-02-20 10:48:12 +0200
commit1549ef9fce8474bfda92884c30a849f6e3120476 (patch)
tree0df3d8672e4f9a646311dbc342740d03e35601e5
parentab93e16dd188a43c33ac9b845f7c11a35e5e96c0 (diff)
downloadvmdb2-1549ef9fce8474bfda92884c30a849f6e3120476.tar.gz
Change: make "getting started" example work
This makes the minimal example presented in the "Getting started" section of the documentation actually produce a working VM image.
-rw-r--r--vmdb2.mdwn5
1 files changed, 4 insertions, 1 deletions
diff --git a/vmdb2.mdwn b/vmdb2.mdwn
index de09c75..a3a2a5d 100644
--- a/vmdb2.mdwn
+++ b/vmdb2.mdwn
@@ -81,6 +81,8 @@ instructions. A minimal specification file example:
end: 100%
tag: root
+ - kpartx: "{{ output }}"
+
- mkfs: ext4
partition: root
@@ -93,10 +95,11 @@ instructions. A minimal specification file example:
- apt: install
packages:
- linux-image-amd64
- tag: root-fs
+ tag: root
- grub: bios
tag: root
+ console: serial
The above creates a four gigabyte file, creates a GPT partition table,
a single partition, with a filesystem, and installs Debian release