aboutsummaryrefslogtreecommitdiff
path: root/roles/libvirt/templates/kickstart/el8.ks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/libvirt/templates/kickstart/el8.ks')
-rw-r--r--roles/libvirt/templates/kickstart/el8.ks4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/libvirt/templates/kickstart/el8.ks b/roles/libvirt/templates/kickstart/el8.ks
index 5097c0d..56055fa 100644
--- a/roles/libvirt/templates/kickstart/el8.ks
+++ b/roles/libvirt/templates/kickstart/el8.ks
@@ -39,7 +39,9 @@ rootpw --iscrypted {{ libvirt_kickstart_root_password | password_hash("sha512")
mkdir -m0700 /root/.ssh/
cat <<EOF >/root/.ssh/authorized_keys
-{{ libvirt_kickstart_root_ssh_key }}
+{% for ssh_key in libvirt_kickstart_root_ssh_keys %}
+{{ ssh_key }}
+{% endfor %}
EOF
chmod 0600 /root/.ssh/authorized_keys