diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-08-19 14:39:21 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-08-19 14:39:21 +0300 |
commit | 5d152e7bb3d9c762e263f764a407cf476c9f5459 (patch) | |
tree | bbaee9b6ea004520a2af54dcafca9ed2d96218e8 | |
parent | af61845daca9759f5f8b679e09702d61a82ea24c (diff) | |
download | v-i-5d152e7bb3d9c762e263f764a407cf476c9f5459.tar.gz |
Change: x220.vmdb to work with current vmdb2
-rw-r--r-- | v-i.yml | 10 | ||||
-rw-r--r-- | x220.vmdb | 14 |
2 files changed, 16 insertions, 8 deletions
@@ -53,5 +53,15 @@ src: /home/liw/data/v-i/unstable.tar.gz dest: /root/unstable.tar.gz + - name: "copy my ssh pub key" + copy: + src: /home/liw/.ssh/liw-openpgp.pub + dest: /root/liw-openpgp.pub + + - name: "add my ssh pub key to root's authorized keys" + authorized_key: + user: root + key: "{{ lookup('file', '/home/liw/.ssh/liw-openpgp.pub') }}" + vars: hostname: v-i @@ -9,13 +9,13 @@ steps: device: "{{ image }}" start: 0% end: 1G - part-tag: efi-part + tag: efi-part - mkpart: primary device: "{{ image }}" start: 1G end: 100% - part-tag: root-part + tag: root-part - mkfs: vfat partition: efi-part @@ -24,7 +24,6 @@ steps: partition: root-part - mount: root-part - fs-tag: root-fs - unpack-rootfs: root-fs @@ -36,7 +35,7 @@ steps: - apt: install packages: - linux-image-amd64 - fs-tag: root-fs + tag: root-fs unless: rootfs_unpacked - cache-rootfs: root-fs @@ -48,13 +47,12 @@ steps: - console-setup - locales-all - ifupdown - fs-tag: root-fs + tag: root-fs - ansible: root-fs playbook: x220.yml - grub: uefi - root-fs: root-fs - root-part: root-part - efi-part: efi-part + tag: root-fs + efi: efi-part image-dev: "{{ image }}" |