summaryrefslogtreecommitdiff
path: root/v-i.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-12-31 17:21:42 +0200
committerLars Wirzenius <liw@liw.fi>2022-01-01 22:01:31 +0200
commit8b796467fcef03133c40f88ac331b1a0d06033a8 (patch)
tree3d11453f15824ea71abda70f4b3e3150b712ab9a /v-i.yml
parent9ace8e9b7d0a15cf6aeeedada8bb7646acc8e6b0 (diff)
downloadv-i-8b796467fcef03133c40f88ac331b1a0d06033a8.tar.gz
feat: make X220 install work with cryptsetup and everything
Sponsored-by: author
Diffstat (limited to 'v-i.yml')
-rw-r--r--v-i.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/v-i.yml b/v-i.yml
index a53254e..541d045 100644
--- a/v-i.yml
+++ b/v-i.yml
@@ -15,6 +15,23 @@
shell: |
sed -i '/^root:[^:]*:/s//root::/' /etc/passwd
+ - name: "create /root/.ssh"
+ file:
+ state: directory
+ path: /root/.ssh
+ owner: root
+ group: root
+ mode: 0700
+
+ - name: "set root authorized keys"
+ copy:
+ content: |
+ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPQe6lsTapAxiwhhEeE/ixuK+5N8esCsMWoekQqjtxjP liw personal systems
+ dest: /root/.ssh/authorized_keys
+ owner: root
+ group: root
+ mode: 0600
+
- name: "configure keyboard layout"
copy:
content: |