[Spacewalk-list] Few more issues with kickstarting

Kenneth Ratliff lists at noctum.net
Thu Feb 10 03:02:54 UTC 2011


Ok, so now that I can create a kickstart profile, I'm trying to get it 
to actually work. I've run into a few issues. It initially failed 
because pxelinux.0 and menu.c32 were not present in /tftpboot. I'm not 
sure if I should have been required to copy them there myself, or if 
some automated process is supposed to (if so, it's broken).

So i was able to pxeboot the box and get into anaconda. There, it told 
me it couldn't download the kickstart file.

Looking at /tftpboot/pxelinux.cfg/default, I see the following entry

append 
initrd=/images/CentOS-5-i386:1:SpacewalkDefaultOrganization/initrd.img 
ksdevice=bootif lang=  kssendmac text  
ks=http://127.0.0.1/cblr/svc/op/ks/profile/CentOS-5-i386:1:SpacewalkDefaultOrganization

Well, the use of localhost in the URL is immediately obvious to me, and 
I'm thinking that's the problem. So I edit the default file, change it 
to the host name of my spacewalk server, and then try to restart it. 
 From that point on, kickstart seems to work until it gets to formatting 
the partitions, but that's not what this is about (not yet anyway).

The issue is that whenever I edit the kickstart profile and update it, 
it changes the hostname portion of the URL in 
/tftpboot/pxelinux.cfg/default back to 127.0.0.1

I don't know if I'm just missing some easy config somewhere, but I can't 
seem to find a place where this is defined withing the spacewalk web 
GUI, as any entry where it seems relevant has my spacewalk server's 
hostname. I checked the config files in /var/etc/cobbler, and they also 
have the servers hostname defined.

Any guidance would be appreciated.





More information about the Spacewalk-list mailing list