Merge into the combined ks file

This commit is contained in:
lumarel 2023-04-02 15:45:56 +02:00 committed by Neil Hanlon
parent 8857a9ff53
commit 0454f16220

View file

@ -15,7 +15,7 @@ shutdown
keyboard us keyboard us
lang en_US.UTF-8 lang en_US.UTF-8
timezone --isUtc --nontp UTC timezone --isUtc --nontp Etc/UTC
# Disk setup # Disk setup
zerombr zerombr
@ -31,14 +31,15 @@ dbus-broker-launch --scope=none
# Package setup # Package setup
%packages --ignoremissing --excludedocs --instLangs=en --nocore --excludeWeakdeps %packages --ignoremissing --excludedocs --instLangs=en --nocore --excludeWeakdeps
bash bash
binutils
brotli
coreutils-single coreutils-single
crypto-policies-scripts crypto-policies-scripts
dmidecode curl-minimal
findutils findutils
gdb-gdbserver
glibc-minimal-langpack glibc-minimal-langpack
libcurl gzip
libcurl-minimal
systemd
rocky-release rocky-release
rootfiles rootfiles
tar tar
@ -68,6 +69,7 @@ yum
%end %end
%post --erroronfail --log=/root/anaconda-post.log %post --erroronfail --log=/root/anaconda-post.log
set -eux
# container customizations inside the chroot # container customizations inside the chroot
# Stay compatible # Stay compatible
@ -97,10 +99,15 @@ systemctl mask \
systemd-logind.service \ systemd-logind.service \
systemd-remount-fs.service systemd-remount-fs.service
# Remove network configuration files leftover from anaconda installation
# https://bugzilla.redhat.com/show_bug.cgi?id=1713089
rm -f /etc/sysconfig/network-scripts/ifcfg-*
# Cleanup the image # Cleanup the image
rm -f /etc/udev/hwdb.bin rm -f /etc/udev/hwdb.bin
rm -rf /usr/lib/udev/hwdb.d/ \ rm -rf /usr/lib/udev/hwdb.d/ \
/boot /var/lib/dnf/history.* \ /boot /var/lib/dnf/history.* \
/var/cache/* /var/log/* \
/tmp/* /tmp/.* || true /tmp/* /tmp/.* || true
%end %end