diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-01 09:11:38 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-01 09:11:38 +0300 |
commit | bfe1f96f3e55fb8d537df46c44fb61a83d69f6d2 (patch) | |
tree | 7b4ea33978cdf7bd810030687a04b45533dac654 /vm.vmdb | |
parent | 21e9727b047f995856fd8756b3b84a6c9ba14667 (diff) | |
download | ick-contractor-bfe1f96f3e55fb8d537df46c44fb61a83d69f6d2.tar.gz |
Add: first sketch of outer VM spec for vmdb2 and script to build
Diffstat (limited to 'vm.vmdb')
-rw-r--r-- | vm.vmdb | 43 |
1 files changed, 43 insertions, 0 deletions
@@ -0,0 +1,43 @@ +# An image for running the Ick contractor outer VM. + +steps: + - mkimg: "{{ output }}" + size: 20G + + - 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: / + + - grub: bios + tag: / |