xxx
infra/kickstart/pipeline/head This commit looks good Details

dev/autoprovision/rpm
Dustin 2025-08-14 11:12:21 -05:00
parent 0f091f9dfe
commit c96f3918b4
1 changed files with 9 additions and 0 deletions

View File

@ -3,5 +3,14 @@ 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