diff options
| author | spmfox <spmfox@foxwd.com> | 2025-07-30 18:19:35 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2025-07-30 18:19:35 -0400 |
| commit | 073042cae96e01a5e5ecbe434f00ef3ebf86e9b8 (patch) | |
| tree | dcd14640b3fb6d826a09ea1c5ae20e6d836f8ce2 /roles/libvirt/templates/kickstart | |
| parent | 167b3da9926db3a4f507533427b72933c008dee6 (diff) | |
Diffstat (limited to 'roles/libvirt/templates/kickstart')
| -rw-r--r-- | roles/libvirt/templates/kickstart/el10.ks | 4 | ||||
| -rw-r--r-- | roles/libvirt/templates/kickstart/el8.ks | 4 | ||||
| -rw-r--r-- | roles/libvirt/templates/kickstart/el9.ks | 4 | ||||
| -rw-r--r-- | roles/libvirt/templates/kickstart/f38.ks | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/roles/libvirt/templates/kickstart/el10.ks b/roles/libvirt/templates/kickstart/el10.ks index 5a95014..253496b 100644 --- a/roles/libvirt/templates/kickstart/el10.ks +++ b/roles/libvirt/templates/kickstart/el10.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 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 diff --git a/roles/libvirt/templates/kickstart/el9.ks b/roles/libvirt/templates/kickstart/el9.ks index b37bcf0..afb050f 100644 --- a/roles/libvirt/templates/kickstart/el9.ks +++ b/roles/libvirt/templates/kickstart/el9.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 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 <<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 |
