mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-25 08:33:09 +00:00
fedora-docker-base: adjust dbus.service to run in a container, mask some units to get rid of fails in boot transaction
This commit is contained in:
parent
7c09012288
commit
20a9971686
@ -52,4 +52,12 @@ localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
|
||||
rm -rf /var/cache/yum/*
|
||||
rm -f /tmp/ks-script*
|
||||
|
||||
#Make it easier for systemd to run in Docker container
|
||||
cp /usr/lib/systemd/system/dbus.service /etc/systemd/system/
|
||||
sed -i 's/OOMScoreAdjust=-900//' /etc/systemd/system/dbus.service
|
||||
|
||||
#Mask mount units and getty service so that we don't get login prompt
|
||||
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
|
||||
|
||||
|
||||
%end
|
||||
|
Loading…
Reference in New Issue
Block a user