Alex Davies wrote:
> Hi,
>
> I've just built a new cobbler machine this evening and have a problem
> with snippets that is probably very obvious but I can't work out.
>
> If I create a completly blank per_profile snippet, suddenly cheetah
> throws a wobbly. The relevant line in the .ks file is
>
> $SNIPPET('partition')
>
> With this line commented, all works well. With this line in the file
> however as soon as I create the correct file in the per_profile
> directory it all falls apart:
>
> [r...@cobbler ~]# cobbler system getks --name=test
> # Works fine
>
> [r...@cobbler partition]# pwd
> /var/lib/cobbler/snippets/per_profile/partition
> [r...@cobbler partition]# touch centos5-xen-x86_64
> [r...@cobbler ~]# cobbler system getks --name=testOh, it only happens on a completely blank snippet? (As in 0 length?) This may not be so super-critical after all. I suspect it happens on regular snippets and not just per-profile ones, but that would be a rather uncommon thing to run into. We can put in some code to check for zero length snippet files though, should we need to. --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
