diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-05-21 15:48:13 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-05-21 15:48:13 +0300 |
commit | abe6c7787fb93e83ed9957fe8206899e18acf0f5 (patch) | |
tree | 59f37707fa0453a68fdd8dfbaa4e4e4b33565803 | |
parent | 6de82e32e068cd14fac4c960c107c466f201f440 (diff) | |
download | vmdb2-abe6c7787fb93e83ed9957fe8206899e18acf0f5.tar.gz |
Add: a vmdb spec file for BIOS-booting PCs
-rw-r--r-- | pc.vmdb | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -0,0 +1,37 @@ +steps: + - mkimg: "{{ output }}" + size: 4G + + - mklabel: msdos + device: "{{ output }}" + + - mkpart: primary + device: "{{ output }}" + start: 0% + end: 100% + part-tag: root-part + + - mkfs: ext4 + partition: root-part + + - mount: root-part + fs-tag: root-fs + + - unpack-rootfs: root-fs + + - debootstrap: stretch + mirror: http://http.debian.net/debian + target: root-fs + unless: rootfs_unpacked + + - apt: linux-image-amd64 + fs-tag: root-fs + unless: rootfs_unpacked + + - cache-rootfs: root-fs + unless: rootfs_unpacked + + - grub: bios + root-fs: root-fs + root-part: root-part + device: "{{ output }}" |