#version=DEVEL # System authorization information auth --enableshadow --passalgo=sha512 # Use CDROM installation media #cdrom # Installation from url (specify the url path) url --url="https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/" # Use graphical install graphical # Run the Setup Agent on first boot firstboot --enable ignoredisk --only-use=sda # Keyboard layouts keyboard --vckeymap=us --xlayouts='us' # System language lang en_US.UTF-8 # Network information network --bootproto=static --device=eth0 --gateway=172.22.1.36 --ip=172.22.1.1 --nameserver=172.22.1.36 --netmask=255.255.255.0 --noipv6 --activate network --hostname=localhost.localhost # SELinux configuration selinux --disabled # Firewall configuration firewall --disabled # Root password rootpw --iscrypted --allow-ssh $6$.YUD6upUP3v9v7cI$9Ci1KR0zLC/LQ2fEZHcYvKFlWKJ9xux.3mC6jVuPpfyhYY65u2QsIkcBRL3jwOpdCsI3mvVzZRpDVUO3GZXeB0 # System services services --disabled="chronyd" # System timezone timezone Europe/Athens --isUtc --nontp # System bootloader configuration bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda # Clear the Master Boot Record zerombr # Partition clearing information #clearpart --none --initlabel clearpart --all # Disk partitioning information part /boot --fstype="ext4" --ondisk=sda --size=600 part /boot/efi --fstype="efi" --ondisk=sda --size=350 --fsoptions="umask=0077,shortname=winnt" part swap --fstype="swap" --ondisk=sda --size=2048 part / --fstype="ext4" --ondisk=sda --grow # Installing packages %packages @^minimal-environment #@core #kexec-tools vim wget %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 %post --log=/root/ks-post.log wget -P /root/ "http://repo.combox.gr/kickstart/rocky/prerequirementsBeforeYumInstallCombox-1.0.0-1.x86_64.rpm" %end # Reboot after installation reboot