fix: update SSH key handling in Cloud-Init user-data template
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user