Change back to cloud init

This commit is contained in:
2026-06-10 18:45:25 +02:00
parent 223b787675
commit fdd7ca8016
4 changed files with 14 additions and 15 deletions
@@ -1,8 +1,7 @@
#cloud-config
users:
- name: {{ vm_user }}
passwd: {{ vm_password | password_hash('sha512') }}
sudo: ALL=(ALL) NOPASSWD:ALL
ssh_authorized_keys:
- {{ lookup('file', vm_ssh_public_key | replace('~', lookup('env', 'HOME'))) }}
sudo: ALL=(ALL) NOPASSWD:ALL
lock_passwd: false