#version=RHEL8 ignoredisk --only-use=vda # Partition clearing information #clearpart --none --initlabel # Use graphical install graphical repo --name="AppStream" --baseurl=http://centos.mirror.garr.it/centos/8/BaseOS/x86_64/os/../../../AppStream/x86_64/os/ # Use network installation url --url="http://centos.mirror.garr.it/centos/8/BaseOS/x86_64/os" # Keyboard layouts # old format: keyboard us # new format: keyboard --vckeymap=us --xlayouts='us' # System language lang en_US.UTF-8 # Network information network --bootproto=dhcp --device=eth0 --activate #network --bootproto=dhcp --device=eth1 --onboot=off --ipv6=auto network --hostname=localhost.localdomain # Root password rootpw --iscrypted $6$DjcrQra58vkuQiVI$sIDgsFXUe4kPJlC/FPm2gY95IK2SZQn/gtI4qRIs1sPiDQ9iSPl00BGAMcffGZ2aLqK0XdW2b7rAuixuL04/X0 # Run the Setup Agent on first boot firstboot --enable # Do not configure the X Window System skipx # System services services --enabled="chronyd" # System timezone timezone Europe/Rome --isUtc # Disk partitioning information #part /boot --fstype="ext4" --ondisk=sda --size=500 --label=/boot #part swap --fstype="swap" --ondisk=sda --size=4096 #part / --fstype="xfs" --ondisk=sda --size=11786 --label=/ reboot %packages @^minimal-environment vim-enhanced %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