xxx
infra/kickstart/pipeline/head This commit looks good
Details
infra/kickstart/pipeline/head This commit looks good
Details
parent
0f091f9dfe
commit
c96f3918b4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue