mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-26 04:53:10 +00:00
fedora-docker-base: Disable dnf-makecache.timer
When containers based on this image are run with systemd as PID 1, there should not be dnf cache updates inside the container, at least by default. https://bugzilla.redhat.com/show_bug.cgi?id=1576993
This commit is contained in:
parent
318b9ecc73
commit
1b4000eb73
@ -23,6 +23,9 @@ rm -rf /tmp/*
|
|||||||
# https://pagure.io/atomic-wg/issue/308
|
# https://pagure.io/atomic-wg/issue/308
|
||||||
printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
|
printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
|
||||||
|
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1576993
|
||||||
|
systemctl disable dnf-makecache.timer
|
||||||
|
|
||||||
#Mask mount units and getty service so that we don't get login prompt
|
#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
|
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user