fix: update SSH key handling in Cloud-Init user-data template

This commit is contained in:
2025-12-05 18:33:23 +01:00
parent 7ae3150ad0
commit 5762bd0a5e

View File

@@ -8,7 +8,9 @@ users:
lock_passwd: false
passwd: {{ ci_password | password_hash('sha512') }}
ssh_authorized_keys:
- {{ lookup('file', ssh_keys_file) }}
{% for key in ssh_public_keys %}
- {{ key }}
{% endfor %}
chpasswd:
expire: false