diff options
Diffstat (limited to 'roles/libvirt/templates/kickstart')
| -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 |
3 files changed, 6 insertions, 6 deletions
diff --git a/roles/libvirt/templates/kickstart/el8.ks b/roles/libvirt/templates/kickstart/el8.ks index d574837..5097c0d 100644 --- a/roles/libvirt/templates/kickstart/el8.ks +++ b/roles/libvirt/templates/kickstart/el8.ks @@ -42,10 +42,10 @@ cat <<EOF >/root/.ssh/authorized_keys {{ libvirt_kickstart_root_ssh_key }} EOF -### set permissions chmod 0600 /root/.ssh/authorized_keys -### fix up selinux context restorecon -R /root/.ssh/ +{{ libvirt_kickstart_allow_root_ssh }} + %end diff --git a/roles/libvirt/templates/kickstart/el9.ks b/roles/libvirt/templates/kickstart/el9.ks index 37dc7ac..b37bcf0 100644 --- a/roles/libvirt/templates/kickstart/el9.ks +++ b/roles/libvirt/templates/kickstart/el9.ks @@ -42,10 +42,10 @@ cat <<EOF >/root/.ssh/authorized_keys {{ libvirt_kickstart_root_ssh_key }} EOF -### set permissions chmod 0600 /root/.ssh/authorized_keys -### fix up selinux context restorecon -R /root/.ssh/ +{{ libvirt_kickstart_allow_root_ssh }} + %end diff --git a/roles/libvirt/templates/kickstart/f38.ks b/roles/libvirt/templates/kickstart/f38.ks index 7dc7eee..de0adb8 100644 --- a/roles/libvirt/templates/kickstart/f38.ks +++ b/roles/libvirt/templates/kickstart/f38.ks @@ -41,10 +41,10 @@ cat <<EOF >/root/.ssh/authorized_keys {{ libvirt_kickstart_root_ssh_key }} EOF -### set permissions chmod 0600 /root/.ssh/authorized_keys -### fix up selinux context restorecon -R /root/.ssh/ +{{ libvirt_kickstart_allow_root_ssh }} + %end |
