On Wed, Mar 24, 2010 at 1:06 PM, Jonas Bygdén <[email protected]> wrote:
> On 2010-03-23 04:32, chandan dutta chowdhury wrote:
>>
>> Sorry looks like I really missed something. The logic for
>> inclusion/exclusion of the post_install_network_config is part of the
>> post_install_network_config snippet itself.
>>
>> The first line in the post_install_network_config snippet tries to
>> determine if the kickstart is generated for a profile or a system.
>>
>> #if $getVar("system_name","") != "" (see
>> http://git.fedoraproject.org/git/cobbler/?p=cobbler;a=blob;f=snippets/post_install_network_config;h=83640122bdab9e6158ff5cf1aaf0e3dcf2a3dc88;hb=HEAD)
>>
>> In case it is a system the network configuration snippet is included
>> and not for profile.
>> So your kickstart setting "<<inherit>>" is correct.
>>
>> Based on the info you provided it looks like the above mentioned  "if
>> condition" is failing for you for system which are not getting the
>> snippet. Just a pointer for you to debug,
>>
>> How this is related to spacewalk i am not sure as i have no experience
>> of spacewalk or xen with cobbler.
>>
>> This is all i can guess at the moment
>>
>> - Chandan
>>
> Ok, now we're getting somewhere.
>
> Anyone know how and where the variable "system_name" gets set? There has
> to be logic somwhere to find out if this system is actually contained
> among the systems that's manually created using 'cobbler system add',
> and if found - sets this variable.
>
> /Jonas

The variable is set while a system is added to cobbler, using the
'cobbler system add' as you mentioned, you will have to list the
systems with "cobbler system list" and figure out i guess.

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

Reply via email to