summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-12-25 11:27:26 +0200
committerLars Wirzenius <liw@liw.fi>2020-02-29 10:47:38 +0200
commit5a2e847204a0e1ffadd7f3370b8f81fd7dbcb165 (patch)
tree753a01245360808b42d0043f2bf45f9e3007043c
parentdf23dc7b51a7bfc4a8eb7908307724f25f842f30 (diff)
downloadv-i-5a2e847204a0e1ffadd7f3370b8f81fd7dbcb165.tar.gz
Fix: port v-i.vmdb to modern vmdb2
Previously, mysterious failings with grub.
-rw-r--r--v-i.vmdb30
1 files 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