Jörgen Maas <[email protected]> wrote:

>You ought to use:
>#end raw

Thanks, I will try that.  I was misled by some documentation or other,
maybe from the middle of this page:

https://fedorahosted.org/cobbler/wiki/TroubleShooting

Or maybe in the document referenced here:

https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=666846

>
>On Tue, Jun 7, 2011 at 4:32 AM, petermity <[email protected]> wrote:
>> In Cobbler V2.0.10, within a given kickstart file or snippet, a
>> raw block does not seem to actually terminate with endraw.
>> Example kickstart:
>>
>> # Kickstart to show raw/endraw bug
>> #set global $test1 = "abc"
>> somesetting1 $test1
>> #raw
>> somerawsetting1 $test1
>> #endraw
>> #set global $test2 = "def"
>> somesetting2 $test2
>>
>>
>> Results of doing "cobbler profile getks" for the profile specifying
>> that kickstart:
>>
>> # Kickstart to show raw/endraw bug
>> somesetting1 abc
>> somerawsetting1 $test1
>> #endraw
>> #set global $test2 = "def"
>> somesetting2 $test2
>>
>>
>> That last line should be showing the value of the test2 variable,
>> not the literal line.
>>
>> The workaround is to split into multiple files - EOF always seems
>> to terminate the raw block.  But this seems like a bug that
>> should be fixed.
>>
>>
>> _______________________________________________
>> cobbler mailing list
>> [email protected]
>> https://fedorahosted.org/mailman/listinfo/cobbler
>>


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

Reply via email to