mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-14 04:44:22 +00:00
5bcdb60f13
There's a lot of similarities between base and base-minimal so introduce a docker-common.ks to ensure as much as possible is shared between the two ensure as much shared as possible. Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
33 lines
1018 B
Plaintext
33 lines
1018 B
Plaintext
# See docker-base-common.ks for details on how to hack on docker image kickstarts
|
|
# This base is a standard Fedora image with python3 and dnf
|
|
|
|
%include fedora-docker-common.ks
|
|
|
|
%packages --excludedocs --instLangs=en --nocore
|
|
rootfiles
|
|
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
|
|
vim-minimal
|
|
dnf
|
|
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
|
sssd-client
|
|
|
|
%end
|
|
|
|
%post --erroronfail --log=/root/anaconda-post.log
|
|
|
|
# remove some extraneous files
|
|
rm -rf /var/cache/dnf/*
|
|
rm -rf /tmp/*
|
|
|
|
#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
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
|
|
# Fix /run/lock breakage since it's not tmpfs in docker
|
|
# This unmounts /run (tmpfs) and then recreates the files
|
|
# in the /run directory on the root filesystem of the container
|
|
umount /run
|
|
systemd-tmpfiles --create --boot
|
|
|
|
%end
|