mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-27 05:23:08 +00:00
docker: fix some paths on file cleanup
Point to dnf cache and clean up everything in tmp.
This commit is contained in:
parent
e5815d62cd
commit
461523481b
@ -59,8 +59,9 @@ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|||||||
|
|
||||||
echo "# fstab intentionally empty for containers" > /etc/fstab
|
echo "# fstab intentionally empty for containers" > /etc/fstab
|
||||||
|
|
||||||
rm -rf /var/cache/yum/*
|
# remove some extraneous files
|
||||||
rm -f /tmp/ks-script*
|
rm -rf /var/cache/dnf/*
|
||||||
|
rm -rf /tmp/*
|
||||||
|
|
||||||
#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