>>>>> "bbenedetto" == bbenedetto  <bbenede...@goodyear.com> writes:

bbenedetto> I can kickstart RHEL 7.2 with no problems.
bbenedetto> And I can kickstart CentOS 7.2 also with no problems.
bbenedetto> 
bbenedetto> But every time I try to kickstart CentOS 6.6, it instead
bbenedetto> prompts me to "Choose a Language" and I end up doing a
bbenedetto> manual install.  During that session I can interactively
bbenedetto> go through the menus and point to my CentOS 6.6 repo and
bbenedetto> do the install that way which works just fine.

bbenedetto> For those of you interested, we have met the enemy and it is us
bbenedetto> (naturall).

bbenedetto> My problem was in the initial file in /tftpboot/pxelinux.cfg that
bbenedetto> says: "here's the kernel and the ramdisk and the kickstart URL".

bbenedetto> My file looked like this (which works for RHEL/CentOS 7.x, BTW):

bbenedetto>    kernel centos66/vmlinuz
bbenedetto>    append initrd=centos66/initrd.img 
inst.ks=http://192.168.0.101/centos66/centos66-anaconda-ks.cfg

bbenedetto> I got that file from an admin in another of our tech centers and
bbenedetto> it works great with RHEL/CentOS 7.x.  So I of course figured it
bbenedetto> would/should work for CentOS 6.6, right?  Wrong.

bbenedetto> I'm sure that the more eagle-eyed among you have already seen it,
bbenedetto> but CentOS 6.6 doesn't understand "inst.ks=http://...";.  So when
bbenedetto> it booted vmlinuz and the ramdisk, it never even SAW the
bbenedetto> kickstart side of the world.

bbenedetto> I changed "inst.ks=http://..."; to "ks=http://...":

bbenedetto>    kernel centos66/vmlinuz
bbenedetto>    append initrd=centos66/initrd.img 
ks=http://192.168.0.101/centos66/centos66-anaconda-ks.cfg

bbenedetto> and, lo and behold, the kickstart was found and read and used.

This is why I hate RHEL Kickstart at times.  They don't seem to
believe in backwards compatibility (though in this case you got caught
by *forwards* incompatibility) and it's always a pain to debug.

But when it works, it's a treat... but it could be made smarter for sure.

John
_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to