diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-08 11:58:29 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-08 11:58:29 +0300 |
commit | 1981433f6bc348800994be7f83dde7edc6e70a16 (patch) | |
tree | 1a153eb3a5cffd6be8a2b4c9bf816a46bf9970b4 /worker-vmdb2.vmdb | |
parent | bfa6e29d4b6f6c9690e8619bb95615a94eabd733 (diff) | |
download | ick-contractor-1981433f6bc348800994be7f83dde7edc6e70a16.tar.gz |
Add: VM and build specs for Subplot, vmdb2
Diffstat (limited to 'worker-vmdb2.vmdb')
-rw-r--r-- | worker-vmdb2.vmdb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/worker-vmdb2.vmdb b/worker-vmdb2.vmdb new file mode 100644 index 0000000..f91a353 --- /dev/null +++ b/worker-vmdb2.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-vmdb2.yml + + - grub: bios + tag: / |