From 5a2e847204a0e1ffadd7f3370b8f81fd7dbcb165 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 25 Dec 2019 11:27:26 +0200 Subject: Fix: port v-i.vmdb to modern vmdb2 Previously, mysterious failings with grub. --- v-i.vmdb | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/v-i.vmdb b/v-i.vmdb index aa33c44..68f4e17 100644 --- a/v-i.vmdb +++ b/v-i.vmdb @@ -1,7 +1,3 @@ -# This is a vmdb2 input file that builds a bootable image that can run -# vmdb2, using UEFI. This can be used to install Debian onto a real -# system. - steps: - mkimg: "{{ output }}" size: 4G @@ -19,7 +15,7 @@ steps: device: "{{ output }}" start: 1G end: 100% - tag: root + tag: / - kpartx: "{{ output }}" @@ -27,24 +23,28 @@ steps: partition: efi - mkfs: ext4 - partition: root - mount: root - unpack-rootfs: root + partition: / + + - mount: / - - debootstrap: unstable + - unpack-rootfs: / + + - debootstrap: buster mirror: http://deb.debian.org/debian - target: root + target: / unless: rootfs_unpacked - apt: install packages: - linux-image-amd64 - tag: root + fs-tag: / unless: rootfs_unpacked - - cache-rootfs: root + - cache-rootfs: / unless: rootfs_unpacked - apt: install @@ -56,20 +56,20 @@ steps: - vmdb2 - git - ssh - - gnupg - ansible - cryptsetup - pass - - lvm2 - dosfstools - emacs - gpg - scdaemon - tag: root + tag: / - - ansible: root + - ansible: / playbook: v-i.yml + - fstab: / + - grub: uefi - tag: root + tag: / efi: efi -- cgit v1.2.1