<div>I think anaconda is not involved at the stage of selection install method its done in the loader if I'm not totally wrong. The loader is actually parsing the kickstart config file (that how I discovered that it doesn't stop parsing when it hits "%installclass" as it should. Hence you can't do a pre thingy to set install type.... since it needs to be present much earlier
</div>
<div> </div>
<div>Cheers The Frozen one....</div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 6/5/06, <b class="gmail_sendername">Coe, Colin C.</b> <<a href="mailto:Colin.Coe@woodside.com.au">Colin.Coe@woodside.com.au</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Hi all<br><br>I want to select a different NFS install path depending on options<br>passed through PXELINUX.  Something like:
<br><br>pxelinux.cfg<br>------------<br>label el3_lws_safe<br>       kernel el3u5_x86_64/vmlinuz<br>       append ksdevice=eth0<br>ks=nfs:a.b.c.d:/export/install/rhel_x86_64_testing.cfg load_ramdisk=1<br>initrd=el3u5_x86_64/initrd.img
<br>       ipappend 1<br><br><br>ks.cfg<br>------<br><br>lang en_US<br>langsupport en_US<br>keyboard us<br>mouse genericwheelps/2<br>timezone --utc Australia/Perth<br>rootpw --iscrypted <snip><br>reboot<br>install<br>
%include /tmp/nfs.cfg<br>bootloader --location=mbr<br><br>%pre<br><br>#!/bin/sh -x<br><br>for I in `cat /proc/cmdline`; do<br>  echo $I | grep -q initrd && P=`dirname \`echo $I | cut -d= -f2\``<br>Done<br><br>echo "nfs --server=
a.b.c.d --dir=/export/install/${P}" > /tmp/nfs.cfg<br><br>---<br><br>However, when I do this, anaconda asks for the install type (CDROM,<br>harddisk, ftp, nfs, etc) and refuses to use NFS.<br><br>Is this possible?  Is anyone else doing anything similar?
<br><br>Thanks<br><br>CC<br><br>_______________________________________________<br>Kickstart-list mailing list<br><a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/kickstart-list">
https://www.redhat.com/mailman/listinfo/kickstart-list</a><br></blockquote></div><br>