text

logging --level=info

lang en_US.UTF-8
timezone America/New_York --isUtc
keyboard --vckeymap=us --xlayouts='us'
rootpw --iscrypted thereisnopasswordanditslocked

network  --bootproto=dhcp --device=link --activate --onboot=on
network  --hostname=localhost.localdomain

services --enabled="chronyd"
firewall --disabled
selinux --disabled
firstboot --disable

ignoredisk --only-use=vda
bootloader --location=mbr
zerombr
clearpart --all --initlabel
reqpart
part / --fstype=ext4 --grow --size=10240  --mkfsoptions="-O ^64bit,^metadata_csum" --ondisk=vda --asprimary

shutdown

%packages --ignoremissing
@base
@core
gcc
ssh
wget
curl
telnet
sysstat
ntp
grub2-pc
grub2-efi-x64
shim
grubby
kernel-4.19.91

%end

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end

%post
mkdir -p /etc/dracut.conf.d
echo 'add_drivers+=" nvme "' >>/etc/dracut.conf.d/nvme.conf
mkinitrd -f \
            --with=nvme --preload=nvme \
            /boot/initramfs-$($KERNEL_VERSION).img $(KERNEL_VERSION)
%end
