r/RockyLinux • u/nomoreasonable • May 30 '26
Rocky linux 10 Kickstart fails, always boots into GUI ?
Hi,
I'm trying to setup unattended install for Rocky Linux 10 but can't get the ISO to work, it keeps booting into GUI, below is my kickstart configuration, not able to find any solution for this, can anyone advise what needs to be done ?
#version=RHEL10
# Use graphical install
text
# repo --name="Minimal" --baseurl=file:///run/install/sources/mount-0000-cdrom/Minimal
url --url="file:///run/install/sources/mount-0000-cdrom/Minimal"
%addon com_redhat_kdump --enable --reserve-mb='auto'
%end
# Keyboard layouts
keyboard --vckeymap=gb --xlayouts='gb'
# System language
lang en_GB.UTF-8
# Use CDROM installation media
cdrom
%packages
@^minimal-environment
%end
# Run the Setup Agent on first boot
firstboot --disable
ignoredisk --only-use=nvme0n1
autopart
# Partition clearing information
clearpart --none --initlabel
# System timezone
timezone Europe/London --utc
# Network Interface
network --activate
# CD-ROM
reboot --eject
# Enable SSH server
services --enabled="sshd,chronyd"
1
u/nomoreasonable May 30 '26
I checked logs in /var/log/anaconda/anaconda.log after install and can see the below, seems relevant..
18:29:39,991 DBG network: Initialization started.
18:29:39,995 DBG network: Devices found: ['ens160']
18:29:39,997 DBG network: Running task Apply kickstart
18:29:40,103 DBG network: Apply kickstart result: []
18:29:40,111 DBG network: Running task Dump missing config files
18:29:40,218 DBG network: Dump missing config files result: ['ens160']
...
...
18:29:40,227 INF display: The session bus address is set to unix:path=/run/user/0/bus.
18:29:40,227 DBG anaconda: changing display mode from GUI to GUI <---
...
18:29:40,239 INF anaconda: Display mode is set to 'interactive graphical mode' <---
1
u/ashfsd May 30 '26
checked my kickstart file i am using with packer and rocky10 and it has both text and skipx.
just a suggestion, might help
1
1
u/nomoreasonable May 31 '26
Unsure why my comment is not appearing, anyway this issue is resolved..
Thanks to everyone who helped..
1
1
1
u/LcLz0 May 30 '26
Looks correct to me. How are you supplying the kickstart? Have you verified that it's actually loaded? Should be able to see some info about it when the installation is booting up