Hi, That is correct. But then we are talking about writing a script which generates a valid ks.cfg file as output for the client browser. That is not what our friend is trying to do - he is taking a working ks.cfg file and simply renaming it to ks.cgi... (that is what it looks like). If not, than there probably is an error in the .cgi source. To check your .cgi source, simply load the page in a normal browser - the output should be similar to the regular ks.cfg file. I can imagine anything else causing problems. Sincerely, Martijn Tigchelaar. -----Original Message----- From: David Irvine [mailto:co2cool@xxxxxxxxx] Sent: Wednesday, April 10, 2002 11:07 To: kickstart-list@xxxxxxxxxx Subject: RE: ks.cfg via http On Wed, 2002-04-10 at 08:28, m.o.tigchelaar@xxxxxxx wrote: > Hi, > > Why would you want to fake your ks.cfg into an .cgi file? There are no > instructions in the ks.cfg file which are ment to be executed on a > server-side - so you should not rename it to ks.cgi... > > Martijn. This would be quite useful actually, because you can create a cgi script to dynamically generate the ks settings depending on the ip address, or you may wish to do some server side processing for each node, for example mapping ip addresses to mac addresses and the like. You might want to add nodes to a database etc... I don't see any reason why this should not work, perhaps you want to change ks.cgi to ks.cfg and make sure it is executable on the server. Can you access ks.cgi through your browser? Do you get the output you expect? HTH David > > -----Original Message----- > From: Michael Blandford [mailto:mlblandf@xxxxxxxxxxxxxxxxxxx] > Sent: Wednesday, April 10, 2002 05:41 > To: kickstart-list@xxxxxxxxxx > Subject: ks.cfg via http > > > I am trying to get my kickstart file from http. > > If I get it as a flat file, ie > > http://server/ks.cfg > > it works fine. > > However, if I try: > > http://server/ks.cgi > > It bombs out. > > I get an error in the readkickstart function key error a67 > > Has anyone seen this before? Also, should I print out a content type, > etc if I do this? > > -- > Intel, Corp. > 5000 W. Chandler Blvd. > Chandler, AZ 85226 > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list _______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/kickstart-list