On Fri, 27 Jun 2003, Tru Huynh wrote: > On Thu, Jun 26, 2003 at 10:56:41PM +0200, Eric Doutreleau wrote: > > Hi > > > > Le jeu 26/06/2003 à 18:09, Tru Huynh a écrit : > ... > > > > > > What about a basic web server? instead of your dhcp/nfs server? > > > ks=http://www.cluster/rh73/ks.cfg > > > > Well i could use http but > > -how can i serve my different kickstart file? > :) a CGI generated kickstart file. > > -I prefer not modify my CD when i create new kickstart file. > If you call the same CGI which is responsible to create the right kickstart file > then you can use the same CD. > > > the use of dhcp adress these two problems and that s why i use it. > > > > > ks=http://my_apache/cgi-bin/ks.sh ks=http://my_apache/cgi-bin/ks.sh/special-options?andmore=these .sh" is still the name of the CGI script. Everything following the / after its name is available for whatever porpoise you design. > > ks.sh > ----- > #!/bin/sh > KSDIR=ks > > cat <<EOF > Content-type: text/plain > > EOF > if [ -f ${KSDIR}/${REMOTE_ADDR} ]; then > cat ${KSDIR}/${REMOTE_ADDR} > else > cat ${KSDIR}/default.ks > fi > > and in your cgi-bin dir: > [tru@kim cgi-bin]$ tree > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/kickstart-list > -- Please, reply only to the list. Join the "Linux Support by Small Businesses" list at http://mail.computerdatasafe.com.au/mailman/listinfo/lssb