- #version=RHEL8
- # Use graphical install
- graphical
- repo --name="Minimal" --baseurl=file:///run/install/sources/mount-0000-cdrom/Minimal
- %packages
- @^minimal-environment
- @standard
- yum-utils
- %end
- # Keyboard layouts
- keyboard --xlayouts='us'
- # System language
- lang en_US.UTF-8
- # Network information
- network --bootproto=dhcp --device=ens160 --ipv6=auto --activate
- network --hostname=rocky
- # Use CDROM installation media
- cdrom
- # Run the Setup Agent on first boot
- firstboot --disable
- reboot
- selinux --disabled
- clearpart --all --initlabel --drives=nvme0n1
- ignoredisk --only-use=nvme0n1
- # Partition clearing information
- clearpart --none --initlabel
- # Disk partitioning information
- part /boot --fstype="xfs" --ondisk=nvme0n1 --size=512
- part / --fstype="xfs" --ondisk=nvme0n1 --size=7679
- # System timezone
- timezone America/Edmonton --isUtc --nontp
- # Root password
- rootpw --iscrypted $6$ne1H.s2XHWktKM23$nNss8xVLKQMi9ftZJKeSKqdc1VsdC0d4R3R.wI6jU16VXan3I2I0lM0DPUBobqRVK2Dmbb6j4KC9H/quLcWUY.
- %post
- yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
- dnf -y install docker-ce docker-ce-cli containerd.io
- dnf -y install https://zfsonlinux.org/epel/zfs-release.el8_4.noarch.rpm
- dnf -y install epel-release
- dnf -y install kernel-devel zfs
- %end
- %addon com_redhat_kdump --disable --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