Several fixes by Gemma, unverified

This commit is contained in:
2026-06-10 17:10:50 +02:00
parent c4483d46d6
commit 51fd19f45a
6 changed files with 18 additions and 46 deletions
@@ -0,0 +1,11 @@
#cloud-config
users:
- name: {{ vm_user }}
passwd: {{ vm_password | password_hash('sha512') }}
ssh_authorized_keys:
- {{ lookup('file', vm_ssh_public_key | replace('~', lookup('env', 'HOME'))) }}
sudo: ALL=(ALL) NOPASSWD:ALL
write_files:
- path: /etc/ssh/sshd_config.d/permit_root_login.conf
content: |
PermitRootLogin yes