From 073042cae96e01a5e5ecbe434f00ef3ebf86e9b8 Mon Sep 17 00:00:00 2001 From: spmfox Date: Wed, 30 Jul 2025 18:19:35 -0400 Subject: changed ssh-key to ssh-keys, now supports adding multiple keys --- roles/libvirt/templates/kickstart/f38.ks | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'roles/libvirt/templates/kickstart/f38.ks') diff --git a/roles/libvirt/templates/kickstart/f38.ks b/roles/libvirt/templates/kickstart/f38.ks index de0adb8..0d4c40e 100644 --- a/roles/libvirt/templates/kickstart/f38.ks +++ b/roles/libvirt/templates/kickstart/f38.ks @@ -38,7 +38,9 @@ rootpw --iscrypted {{ libvirt_kickstart_root_password | password_hash("sha512") mkdir -m0700 /root/.ssh/ cat </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 -- cgit