forked from sig_core/kickstarts
Merge into the combined ks file
This commit is contained in:
parent
1e7a211eb7
commit
e41d68f01b
1 changed files with 12 additions and 7 deletions
|
@ -15,7 +15,7 @@ shutdown
|
|||
|
||||
keyboard us
|
||||
lang en_US.UTF-8
|
||||
timezone --utc --nontp UTC
|
||||
timezone --utc --nontp Etc/UTC
|
||||
|
||||
# Disk setup
|
||||
zerombr
|
||||
|
@ -27,23 +27,22 @@ autopart --noboot --nohome --noswap --nolvm --fstype=ext4
|
|||
%end
|
||||
|
||||
# Package setup
|
||||
# NOTE(nhanlon) - 2022-11-23 adding --ignoremissing as dmidecode does not exist on all arches
|
||||
%packages --ignoremissing --excludedocs --inst-langs=en --nocore --exclude-weakdeps
|
||||
bash
|
||||
binutils
|
||||
brotli
|
||||
coreutils-single
|
||||
crypto-policies-scripts
|
||||
dmidecode
|
||||
curl-minimal
|
||||
findutils
|
||||
gdb-gdbserver
|
||||
glibc-minimal-langpack
|
||||
libcurl
|
||||
gzip
|
||||
libcurl-minimal
|
||||
systemd
|
||||
rocky-release
|
||||
rootfiles
|
||||
tar
|
||||
vim-minimal
|
||||
util-linux
|
||||
vim-minimal
|
||||
which
|
||||
yum
|
||||
|
||||
|
@ -68,6 +67,7 @@ yum
|
|||
%end
|
||||
|
||||
%post --erroronfail --log=/root/anaconda-post.log
|
||||
set -eux
|
||||
# container customizations inside the chroot
|
||||
|
||||
# Stay compatible
|
||||
|
@ -97,10 +97,15 @@ systemctl mask \
|
|||
systemd-logind.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
|
||||
rm -f /etc/udev/hwdb.bin
|
||||
rm -rf /usr/lib/udev/hwdb.d/ \
|
||||
/boot /var/lib/dnf/history.* \
|
||||
/var/cache/* /var/log/* \
|
||||
"/tmp/*" "/tmp/.*" || true
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue