mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-10 08:00:06 +00:00
4af7364074
Due to #1369794 , anaconda cannot currently manipulate sysv services in F25+. So to work around this, take 'network' out of the services lines in all kickstarts and instead manipulate it in the %post section, with chkconfig. Also remove rsyslog from the Atomic image services line because it doesn't appear to be included in the OStree tree at present and so attempting to enable the service breaks Atomic image compose, see e.g.: https://kojipkgs.fedoraproject.org//work/tasks/9022/15349022/oz-x86_64.log also correct the name of the ssh service in fedora-arm-base.ks; it's sshd not ssh.
103 lines
1.7 KiB
Plaintext
103 lines
1.7 KiB
Plaintext
# Kickstart file to build the appliance operating
|
|
# system for fedora.
|
|
# This is based on the work at http://www.thincrust.net
|
|
lang C
|
|
keyboard us
|
|
timezone US/Eastern
|
|
auth --useshadow --passalgo=sha512
|
|
selinux --permissive
|
|
firewall --disabled
|
|
bootloader --timeout=1 --append="acpi=force"
|
|
network --bootproto=dhcp --device=eth0 --onboot=on
|
|
|
|
# Uncomment the next line
|
|
# to make the root password be thincrust
|
|
# By default the root password is emptied
|
|
#rootpw --iscrypted $1$uw6MV$m6VtUWPed4SqgoW6fKfTZ/
|
|
|
|
#
|
|
# Partition Information. Change this as necessary
|
|
# This information is used by appliance-tools but
|
|
# not by the livecd tools.
|
|
#
|
|
part / --size 1024 --fstype ext4 --ondisk sda
|
|
|
|
#
|
|
# Repositories
|
|
#
|
|
%include fedora-repo.ks
|
|
|
|
#
|
|
# Add all the packages after the base packages
|
|
#
|
|
%packages --excludedocs --nobase
|
|
bash
|
|
kernel
|
|
grub
|
|
e2fsprogs
|
|
passwd
|
|
policycoreutils
|
|
chkconfig
|
|
rootfiles
|
|
yum
|
|
vim-minimal
|
|
acpid
|
|
#needed to disable selinux
|
|
lokkit
|
|
|
|
#Allow for dhcp access
|
|
dhclient
|
|
iputils
|
|
|
|
#
|
|
# Packages to Remove
|
|
#
|
|
|
|
# no need for kudzu if the hardware doesn't change
|
|
-kudzu
|
|
-prelink
|
|
-setserial
|
|
-ed
|
|
|
|
# Remove the authconfig pieces
|
|
-authconfig
|
|
-rhpl
|
|
-wireless-tools
|
|
|
|
# Remove the kbd bits
|
|
-kbd
|
|
-usermode
|
|
|
|
# these are all kind of overkill but get pulled in by mkinitrd ordering
|
|
-mkinitrd
|
|
-kpartx
|
|
-dmraid
|
|
-mdadm
|
|
-lvm2
|
|
-tar
|
|
|
|
# selinux toolchain of policycoreutils, libsemanage, ustr
|
|
-policycoreutils
|
|
-checkpolicy
|
|
-selinux-policy*
|
|
-libselinux-python
|
|
-libselinux
|
|
|
|
# Things it would be nice to loose
|
|
-fedora-logos
|
|
generic-logos
|
|
-fedora-release-notes
|
|
%end
|
|
|
|
#
|
|
# Add custom post scripts after the base post.
|
|
#
|
|
%post
|
|
|
|
# Enable network service here, as doing it in the services line
|
|
# fails due to RHBZ #1369794
|
|
/sbin/chkconfig network on
|
|
|
|
%end
|
|
|