I've prepared a ks.cfg file and validated it with ksvalidator, however it doesn't seem to do what I wish it was doing. For example - it keeps going into graphical mode despite specifying text option. Next it stops at language section, just so I would click "Continue" and doesn't seem to pick the language settings I have specified.
After that it stops on "Installation Summary" section where I need to open "System" settings and click "Done" for it to proceed. It prompts the message that automated partitioning has been selected, however I have specified in my file what partitions I want to have created and removed the "autopart" option.
enter image description here enter image description here
Question is if my Kickstart file is incorrect, or maybe I'm missing some switches or messed up with settings order? Below the updated config:
#version=DEVEL
#Action
install
#INSTALLATION SOURCE SETTINGS:
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
cdrom
text
# Accept Eula
eula --agreed
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=sda
#LANGUAGE/LOCALE SETTINGS:
# Keyboard layouts
keyboard --vckeymap=pl --xlayouts='pl'
# System language
lang pl_PL.UTF-8
#NETWORK AND TIME/ZONE SETTINGS:
# Network information
network --bootproto=dhcp --device=eth0 --ipv6=auto --activate
network --bootproto=dhcp --device=eth1 --onboot=off --ipv6=auto
network --bootproto=dhcp --device=eth2 --onboot=off --ipv6=auto
network --hostname=
#USER/AUTHENTICATION SETTINGS:
rootpw --lock
user --groups=wheel --name= --password=
# SYSTEM SERVICES
services --enabled=chronyd, strongswan
# System timezone
timezone Europe/Warsaw --isUtc --ntpservers=0.centos.pool.ntp.org,1.centos.pool.ntp.org,2.centos.pool.ntp.org,3.centos.pool.ntp.org
# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
part /boot --fstype=xfs --onpart=sda1 --size=512
part /root --fstype=xfs --onpart=sda2 --size=4096
part swap --fstype=swap --size=1024
#PACKAGES
%packages
@^minimal
@core
chrony
kexec-tools
strongswan
%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
I've deleted the user details for obvious reasons.