From 0573ad57745a9d67d6c27240a08cd6d9668f602f Mon Sep 17 00:00:00 2001 From: spmfox Date: Mon, 26 Jun 2023 23:20:27 -0400 Subject: updating documentation, PermitRootLogin used in Kickstart if no SSH key is defined --- roles/libvirt/templates/kickstart/el8.ks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/libvirt/templates/kickstart/el8.ks') 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 </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 -- cgit