2017-04-03 22:53:31 +00:00
|
|
|
# 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
|
2014-07-29 12:30:03 +00:00
|
|
|
|
2017-04-03 22:53:31 +00:00
|
|
|
%include fedora-docker-common.ks
|
2014-07-29 12:30:03 +00:00
|
|
|
|
|
|
|
%packages --excludedocs --instLangs=en --nocore
|
2015-01-12 11:42:18 +00:00
|
|
|
rootfiles
|
2017-04-03 22:53:31 +00:00
|
|
|
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
|
2014-07-29 12:30:03 +00:00
|
|
|
vim-minimal
|
2015-03-07 17:12:24 +00:00
|
|
|
dnf
|
2015-03-25 19:33:35 +00:00
|
|
|
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
2015-10-30 14:06:48 +00:00
|
|
|
sssd-client
|
2014-07-29 12:30:03 +00:00
|
|
|
|
|
|
|
%end
|
|
|
|
|
2017-01-19 19:19:24 +00:00
|
|
|
%post --erroronfail --log=/root/anaconda-post.log
|
2015-01-12 11:42:18 +00:00
|
|
|
|
2017-01-19 19:32:47 +00:00
|
|
|
# remove some extraneous files
|
|
|
|
rm -rf /var/cache/dnf/*
|
|
|
|
rm -rf /tmp/*
|
2014-07-29 12:30:03 +00:00
|
|
|
|
2015-01-21 09:17:49 +00:00
|
|
|
#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
|
|
|
|
|
2017-01-19 20:31:38 +00:00
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
|
2016-07-22 20:26:49 +00:00
|
|
|
# Fix /run/lock breakage since it's not tmpfs in docker
|
2017-01-19 20:31:38 +00:00
|
|
|
# This unmounts /run (tmpfs) and then recreates the files
|
|
|
|
# in the /run directory on the root filesystem of the container
|
2016-07-22 20:26:49 +00:00
|
|
|
umount /run
|
|
|
|
systemd-tmpfiles --create --boot
|
|
|
|
|
2014-07-29 12:30:03 +00:00
|
|
|
%end
|