mirror of
https://github.com/Kiritow/image-station.git
synced 2024-03-22 13:30:54 +08:00
Update systemd
This commit is contained in:
parent
26538a904e
commit
41438630b2
|
@ -8,6 +8,7 @@ RUN apt update \
|
|||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& rm -rf /tmp/* /var/tmp/* \
|
||||
&& rm /root/preseed.cfg \
|
||||
&& sed 's/ProtectHostname=yes/ProtectHostname=no/g' -i /lib/systemd/system/systemd-logind.service \
|
||||
&& cd /lib/systemd/system/sysinit.target.wants/ \
|
||||
&& ls | grep -v systemd-tmpfiles-setup | xargs rm -f $1 \
|
||||
&& rm -f /lib/systemd/system/multi-user.target.wants/* \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# ubuntu-cn-systemd
|
||||
|
||||
Ubuntu with systemd installed. Time zone is set to `Asia/Shanghai`
|
||||
|
||||
systemd-logind.service: `ProtectHostname` set to `no`.
|
||||
|
|
Loading…
Reference in New Issue
Block a user