You ought to use:
#end raw
On Tue, Jun 7, 2011 at 4:32 AM, petermity <6t12-n6js(a)dea.spamcon.org> 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
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler