diff options
-rw-r--r-- | base.vmdb | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/base.vmdb b/base.vmdb new file mode 100644 index 0000000..1e731c6 --- /dev/null +++ b/base.vmdb @@ -0,0 +1,54 @@ +# This is a sample vmdb2 input file for testing vmdb2 with a few +# different configurations. The check-one script will modify this +# based on its command line options, before building an image. + +steps: + - mkimg: "{{ output }}" + size: 4G + + - mklabel: msdos + device: "{{ output }}" + + # Create an EFI partition. It'll not be used if we install GRUB for + # UEFI, but an extra partition doesn't break anything, and the waste + # of space doesn't matter for a test image. + - mkpart: primary + device: "{{ output }}" + start: 0% + end: 1G + tag: efi + + - mkpart: primary + device: "{{ output }}" + start: 1G + end: 100% + tag: / + + - kpartx: "{{ output }}" + + - mkfs: vfat + partition: efi + + - mkfs: ext4 + partition: / + + - mount: / + + - unpack-rootfs: / + + - debootstrap: buster + mirror: http://deb.debian.org/debian + variant: minbase + target: / + unless: rootfs_unpacked + + - virtual-filesystems: / + + - cache-rootfs: / + unless: rootfs_unpacked + + - fstab: / + + - grub: uefi + tag: / + efi: efi |