mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-16 05:33:09 +00:00
7a88f75074
ISC DHCP implementation is going to be deprecated soon in favor of NetworkManager and all spins but modular switched to using NM already. Dropping dhcp-client from the modular build as well and re-enable NM service Bug-Url: https://bugzilla.redhat.com/1845933 Signed-off-by: Pavel Zhukov <pzhukov@redhat.com>
80 lines
1.8 KiB
Plaintext
80 lines
1.8 KiB
Plaintext
text
|
|
lang en_US.UTF-8
|
|
keyboard us
|
|
timezone US/Eastern
|
|
selinux --enforcing
|
|
# Disabled for modular compose (for now)
|
|
#firewall --enabled --service=mdns
|
|
# Disabled for modular compose (for now)
|
|
#services --enabled=sshd,chronyd,initial-setup
|
|
services --enabled=NetworkManager
|
|
network --bootproto=dhcp --device=link --activate
|
|
rootpw --lock --iscrypted locked
|
|
shutdown
|
|
|
|
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
|
|
|
zerombr
|
|
clearpart --all --initlabel --disklabel=msdos
|
|
autopart --type=plain
|
|
|
|
# make sure that initial-setup runs and lets us do all the configuration bits
|
|
firstboot --reconfig
|
|
|
|
%include fedora-repo.ks
|
|
|
|
%packages --excludedocs --excludeWeakdeps --nocore
|
|
bash
|
|
fedora-modular-release
|
|
filesystem
|
|
coreutils-single
|
|
util-linux
|
|
rpm
|
|
shadow-utils
|
|
microdnf
|
|
glibc-minimal-langpack
|
|
grubby
|
|
kernel
|
|
sssd-client
|
|
@networkmanager-submodules
|
|
-fedora-logos
|
|
-coreutils
|
|
-dosfstools
|
|
-e2fsprogs
|
|
-fuse-libs
|
|
-gnupg2-smime
|
|
-libss # used by e2fsprogs
|
|
-libusbx
|
|
-pinentry
|
|
-shared-mime-info
|
|
-trousers
|
|
-xkeyboard-config
|
|
-dracut
|
|
%end
|
|
|
|
%post
|
|
|
|
# Setup Raspberry Pi firmware
|
|
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
|
cp -P /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin
|
|
|
|
releasever=$(rpm --eval '%{fedora}')
|
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
|
echo "Packages within this disk image"
|
|
rpm -qa --qf '%{size}\t%{name}-%{version}-%{release}.%{arch}\n' |sort -rn
|
|
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
|
rm -f /var/lib/rpm/__db*
|
|
|
|
# remove random seed, the newly installed instance should make it's own
|
|
rm -f /var/lib/systemd/random-seed
|
|
|
|
# Disable network service here, as doing it in the services line
|
|
# fails due to RHBZ #1369794
|
|
/sbin/chkconfig network off
|
|
|
|
# Remove machine-id on pre generated images
|
|
rm -f /etc/machine-id
|
|
touch /etc/machine-id
|
|
|
|
%end
|