kickstart ks.cfg: Where should 'url' point?
Posted
by Stefan Lasiewski
on Server Fault
See other posts from Server Fault
or by Stefan Lasiewski
Published on 2010-06-02T00:50:46Z
Indexed on
2010/06/02
0:55 UTC
Read the original article
Hit count: 476
I have a kickstart file (ks.cfg) on a floppy (Old style). I am trying to install CentOS 5.4.
The top of my ks.cfg says this:
install
# Install from local cdrom or over the network.
#cdrom
url --url http://kickstart.example.org/pub/centos/5.4/
On the Apache server side, this command is failing with these 404s:
kickstart.example.org 192.168.16.180 - - [01/Jun/2010:17:24:30 -0700] "GET /pub/centos/5.4///disc1/.discinfo HTTP/1.1" 404 314 "-" "urlgrabber/3.1.0"
kickstart.example.org 192.168.16.180 - - [01/Jun/2010:17:24:43 -0700] "GET /pub/centos/5.4/repodata/repomd.xml HTTP/1.1" 404 316 "-" "urlgrabber/3.1.0 yum/3.2.22"
It seems that the value of my url doesn't match the directory structure on the server. I swear this worked a few months ago. Someone else maintains the Yum repository, and they say nothing has changed.
What should the value of url URL be? Should this only include the OS (/pub/centos/5.4/), or should it include the architecture (/pub/centos/5.4/os/x86_64 )?
I see that Kickstart is trying to grab a file called 'repomd.xml', but why is it looking in '/pub/centos/5.4/repodata/repomd.xml', when these files actually exist at '/pub/centos/5.4/os/x86_64/repodata/repomd.xml' and other locations at '/pub/centos/5.4/*/$ARCH/repodata/repomd.xml'?
I don't see this documented or explained well in the [RedHat 5 Installation Guide1]
© Server Fault or respective owner