%packages 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 grep ForwardTo /etc/systemd/journald.conf passwd -d root exit 0 } > /dev/console %end