Package: vmdb2
Version: 0.13.2+git20190215-1
Severity: normal
Tags: patch

The minimal example provided in the documentation doesn't really work.
The attached changes it to something that does (still, you can't login
to the VM, but that's another story).

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), 
LANGUAGE=pt_BR:pt:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vmdb2 depends on:
ii  cmdtest         0.32-3
ii  debootstrap     1.0.114
ii  kpartx          0.7.9-2
ii  parted          3.2-24
ii  python3         3.7.2-1
ii  python3-cliapp  1.20180812.1-2
ii  python3-jinja2  2.10-1
ii  python3-yaml    3.13-2
ii  qemu-utils      1:3.1+dfsg-4

Versions of packages vmdb2 recommends:
ii  ansible  2.7.6+dfsg-1

vmdb2 suggests no packages.

-- no debconf information
From c0e2b8ceda068522dc29111e754d485abadb0c71 Mon Sep 17 00:00:00 2001
From: Antonio Terceiro <terce...@debian.org>
Date: Mon, 18 Feb 2019 22:39:56 -0300
Subject: [PATCH] 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.
---
 vmdb2.mdwn | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/vmdb2.mdwn b/vmdb2.mdwn
index 62326b1..0deaee5 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
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature

Reply via email to