diff --git a/autoprovision.ks.j2 b/autoprovision.ks.j2 index 0ceba2d..1cc384d 100644 --- a/autoprovision.ks.j2 +++ b/autoprovision.ks.j2 @@ -3,5 +3,11 @@ dch-autoprovision %end %post +{ +ls -la /root/.ssh +chmod -R 700 /root/.ssh +cat /root/.ssh/authorized_keys systemctl enable --no-reload notify-online.service +sed -i 's/.*ForwardToConsole.*/ForwardToConsole=yes/' /etc/systemd/journald.conf +} > /dev/console %end