diff --git a/templates/cloudinit_userdata.yaml.j2 b/templates/cloudinit_userdata.yaml.j2 index 9c86e83..5dfdfae 100644 --- a/templates/cloudinit_userdata.yaml.j2 +++ b/templates/cloudinit_userdata.yaml.j2 @@ -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