On Thu, Mar 12, 2009 at 4:19 PM, James Cammarata <jimi@sngx.net> wrote:

On Thu, 12 Mar 2009 16:12:17 -0500, Gennadiy Nerubayev <parakie@gmail.com>
wrote:
> On Thu, Mar 12, 2009 at 4:00 PM, James Cammarata <jimi@sngx.net> wrote:
>
>>
>> >>
>> >> >
>> >> > $SNIPPET('post_install_network_config')
>> >> >
>> >>
>> >> It didn't seem to interpret it at all.  Any modifications made to the
>> >> snippet that would cause the render to fail?
>> >>
>> >
>> > Right, that's the problem. As mentioned in the original email, the
only
>> > time
>> > it renders at all is in profile view. No modifications have been made;
>> > I
>> > did
>> > a diff against the latest git just in case which confirmed no changes.
>>
>> So something in that configuration is causing the post network config
>> snippet to fail... since it doesn't fail for profiles.  Try removing the
>> eth1 interface, and if it still fails re-add eth1 and delete eth0.  If
it
>> still fails delete both and check.
>
>
> Same thing in all cases. I even created a completely new system,
specifying
> only the name and the profile, and it still fails to render (it should be
> rendering the first and last line like in profile render view).

2) What is the md5 sum on your snippet?  Here's mine for comparison:

# md5sum /var/lib/cobbler/snippets/post_install_network_config
2a3252698b6279268660f66721e335ec
/var/lib/cobbler/snippets/post_install_network_config

Yep, matches.

-Gennadiy