summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-03-29 13:40:51 +0300
committerLars Wirzenius <liw@liw.fi>2017-03-29 13:40:51 +0300
commit3d884fa36487e5aecf6811138744b720b22c9f76 (patch)
tree0e44cf77141b9868ac0c777b2385738ddd86b172
parent200dd2cc0862e6729e813a7226ca030daeb2a442 (diff)
downloadvmdb2-3d884fa36487e5aecf6811138744b720b22c9f76.tar.gz
Add a simple vmdb2 input file, as an example
-rw-r--r--simple.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/simple.yaml b/simple.yaml
new file mode 100644
index 0000000..165d574
--- /dev/null
+++ b/simple.yaml
@@ -0,0 +1,30 @@
+steps:
+ - mkimg: "{{ output }}"
+ size: 4G
+
+ - mklabel: gpt
+ 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
+
+ - debootstrap: stretch
+ mirror: http://http.debian.net/debian
+ target: root-fs
+
+ - kernel: linux-image-amd64
+ fs-tag: root-fs
+
+ - shell: |
+ echo Disk usage of this installation:
+ du -sh "$ROOT"
+ root-fs: root-fs