<div dir="ltr">Thank you Colin <div><br></div><div>I'll review your comments, and give them a try. Again, thanks for you help on this matter</div><div><br></div><div>Ray </div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 1:29 PM Colin Coe <<a href="mailto:colin.coe@gmail.com">colin.coe@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Or if you're are not using any of the templating functionality, un-check the 'template' check box on the script page<div><a href="https://sat.server.com/rhn/kickstart/KickstartScriptEdit.do" target="_blank">https://sat.server.com/rhn/kickstart/KickstartScriptEdit.do</a><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 8:27 PM Colin Coe <<a href="mailto:colin.coe@gmail.com" target="_blank">colin.coe@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Or, if you are not using snippets, wrap the code in<div><br></div><div>#raw</div><div>code here</div><div>#end raw</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 8:25 PM Colin Coe <<a href="mailto:colin.coe@gmail.com" target="_blank">colin.coe@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, try that</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 8:24 PM Raymond Setchfield <<a href="mailto:raymond.setchfield@gmail.com" target="_blank">raymond.setchfield@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Colin <div><br></div><div>Thank you for your assistance on this. Yes, its all very fustrating, especially when you can't figure out what is actually wrong :) </div><div><br></div><div>Are you suggesting that removing $() and replacing it with just ``?</div><div><br></div><div>Thanks</div><div><br></div><div>Ray </div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 5:59 AM Colin Coe <<a href="mailto:colin.coe@gmail.com" target="_blank">colin.coe@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hmm, I just got this in one of my kickstart profiles when using "$(something)".  If I change it to "`something`" then the error goes away...</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 8:34 AM Colin Coe <<a href="mailto:colin.coe@gmail.com" target="_blank">colin.coe@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Historically, I see this when I comment out some shell script, like:<div><br></div><div>#if sometest</div><div><br></div><div>The fix to the above is to a space between the hash and 'if' like below:</div><div><br></div><div># if sometest</div><div><br></div><div><br></div><div><br></div><div>I couldn't see anything obvious so I created a new kickstart profile on my Satellite v5.8 system using your post script.  There were no templating errors.</div><div><br></div><div>Sorry, I know this isn't that helpful...</div><div><br></div><div>CC</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 23, 2018 at 6:43 PM Raymond Setchfield <<a href="mailto:raymond.setchfield@gmail.com" target="_blank">raymond.setchfield@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All, <div><br></div><div>I am experiencing some problems around the kickstart templates, and I am attempting to following the guidelines, but it looks like I am still running into problems. </div><div><br></div><div>I am receiving an error message of; </div><div><div># There is a templating error preventing this file from rendering correctly. </div><div>#</div><div># This is most likely not due to a bug in Cobbler and is something you can fix.</div><div>#</div><div># Look at the message below to see what things are causing problems.  </div><div>#</div><div># (1) Does the template file reference a $variable that is not defined?</div><div># (2) is there a formatting error in a Cheetah directive?</div><div># (3) Should dollar signs ($) be escaped that are not being escaped?</div><div>#</div><div># Try fixing the problem and then investigate to see if this message goes</div><div># away or changes.</div><div>#</div><div># </div><div># unexpected EOF while parsing (<string>, line 1)</div><div>#   File "/usr/lib/python2.7/site-packages/cobbler/templar.py", line 142, in render</div><div>#     data_out = t.respond()</div><div># </div><div>#   File "cheetah_DynamicallyCompiledCheetahTemplate_1535020182_58_55849.py", line 445, in respond</div><div># </div><div>#   File "cheetah_DynamicallyCompiledCheetahTemplate_1535020182_58_55849.py", line 77, in __errorCatcher2</div><div># </div></div><div><br></div><div>Is it possible someone could please have a look at the kickstart template I am attempting to use, or could someone please share a template which they are using which has variables etc. So at least I can take a look at possible issues of where I am going wrong? </div><div><br></div><div>Many Thanks</div><div><br></div><div>Ray </div></div>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div>
</blockquote></div>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div>