From 1981433f6bc348800994be7f83dde7edc6e70a16 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 8 Apr 2020 11:58:29 +0300 Subject: Add: VM and build specs for Subplot, vmdb2 --- worker-subplot.vmdb | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 worker-subplot.vmdb (limited to 'worker-subplot.vmdb') diff --git a/worker-subplot.vmdb b/worker-subplot.vmdb new file mode 100644 index 0000000..8f667e7 --- /dev/null +++ b/worker-subplot.vmdb @@ -0,0 +1,46 @@ +# An image for running the Ick contractor inner VM. + +steps: + - mkimg: "{{ output }}" + size: 10G + + - mklabel: msdos + device: "{{ output }}" + + - mkpart: primary + device: "{{ output }}" + start: 0% + end: 100% + tag: / + + - kpartx: "{{ output }}" + + - mkfs: ext4 + partition: / + + - mount: / + + - unpack-rootfs: / + + - debootstrap: buster + mirror: http://deb.debian.org/debian + target: / + unless: rootfs_unpacked + + - apt: install + packages: + - linux-image-amd64 + - python3 + tag: / + unless: rootfs_unpacked + + - cache-rootfs: / + unless: rootfs_unpacked + + - fstab: / + + - ansible: / + playbook: worker-subplot.yml + + - grub: bios + tag: / -- cgit v1.2.1