diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-08-14 19:58:25 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-08-14 19:58:25 +0300 |
commit | 77fd1217236b3430a1b39e1b6890f84c72f64cc8 (patch) | |
tree | 2adcae0aaf7b92ab268929fb0405a207167e4e26 | |
parent | 11414b1729e83a7490f712328ce2328650f0f4ef (diff) | |
download | v-i-77fd1217236b3430a1b39e1b6890f84c72f64cc8.tar.gz |
Add: x220.vmdb
-rw-r--r-- | x220.vmdb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/x220.vmdb b/x220.vmdb new file mode 100644 index 0000000..56240db --- /dev/null +++ b/x220.vmdb @@ -0,0 +1,52 @@ +# This is a vmdb2 input file that installs Debian onto my Thinkpad +# X220. It has an SSD as sdb. + +steps: + - mklabel: gpt + device: "{{ image }}" + + - mkpart: primary + device: "{{ image }}" + start: 0% + end: 1G + part-tag: efi-part + + - mkpart: primary + device: "{{ image }}" + start: 1G + end: 100% + part-tag: root-part + + - mkfs: vfat + partition: efi-part + + - mkfs: ext4 + partition: root-part + + - mount: root-part + fs-tag: root-fs + + - debootstrap: unstable + mirror: http://deb.debian.org/debian + target: root-fs + + - apt: install + packages: + - linux-image-amd64 + fs-tag: root-fs + + - apt: install + packages: + - python + - console-setup + - locales-all + - ifupdown + fs-tag: root-fs + + # - ansible: root-fs + # playbook: v-i.yml + + - grub: uefi + root-fs: root-fs + root-part: root-part + efi-part: efi-part |