>
> Don't do that. I've got a snippet that sets the right timezone based
> on the "hostname" and put a trimmed down version on the wiki. You can
> use the same logic and put in your code:
> https://fedorahosted.org/cobbler/wiki/KickstartSnippets#ConfigureTimezoneBasedonHostname
>
> Basicly use cheetah templating to split on the hostname and recognize
> the location you are in and then run some code.
>
>   

thanks for this - i achieve something similar at the moment using case 
but your way seems neater.

can i ask you to explain how in your example the system_name is set as i 
see it starts with

#if $getVar("system_name","") != ""

but where does 'system_name' come from ?

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

Reply via email to