Hi Mad,

We use NFS for the install path. In our case we do the following:


1.     Edit the Distro and change the Kickstart metadata.

a.     I replace the entire string with this: ksdistro=distro_name

2.     In the profile add another Kicstart Metadata

a.     loccode=locx

3.     Create a snippet that sets the server name and directory path and then 
specifies the nfs line

4.     Include that snippet in the kickstart template.

Here is a sample of the snippet:


#set $loccode = $getVar('loccode', 'loc1')

#if $loccode == 'loc1'

#set $server = 'loc1_server'

#set $path = '/loc1_path'

#else if $loccode == 'loc2'

#set $server = 'loc2_server'

#set $path = '/loc2_path'

#else if $loccode == 'loc3'

#set $server = 'loc3_server'

#set $path = '/loc3_path'

#end if



# Network install

nfs --server $server --dir $path/$ksdistro

Ed
There are basically two types of people. People who accomplish things, and 
people who claim to have accomplished things. The first group is less crowded.
Mark Twain<http://www.brainyquote.com/quotes/quotes/m/marktwain393535.html>

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to