I am trying to setup a PXE boot server in centos for unattended install of OS, for POC I am using a centos7 as a PXE server which is running on Citrix hypervisor, I am using a kickstart file. When I try to boot a machine on network boot it is taking all the Parameters from kickstart file(eg, keyboard ,language ,time) however it is giving "Error setting up base repository" on installation source section. How can I solve this issue. I saw a few articles but could not understand what I am doing wrong Note: I am trying to install centos 9.
the ks file:
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
#using network boot
url --url="http://192.168.10.9/centos9"
# Use graphical install
graphical
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=xvda
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
Network information
network --bootproto=dhcp --device=eth0 --onboot=off --ipv6=auto --no-activate
network --hostname=localhost.localdomain
Root password
rootpw --iscrypted $6$KWLJKbrttDYtjWnk$rjRC4pR6ntyzYtJ7xjqOGC/0FYnlNEc6nacNP3Av93msT0aTLy10SUcKNaMvtkYN6gW2z128oB5aCMAhIlgXH0
System services
services --disabled="chronyd"
System timezone
timezone Asia/Kolkata --isUtc --nontp
System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=xvda
autopart --type=lvm
Partition clearing information
clearpart --none --initlabel
%packages
@^minimal
@core
kexec-tools
%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