SUSE Support

Here When You Need Us

AutoYaST profiles including bash scripts with variables report syntax errors in SUSE Manager WebUI

This document (7023351) is provided subject to the disclaimer at the end of this document.


SUSE Manager 3.2
SUSE Manager 3.1
SUSE Manager 3


When adding script sections containing "$" into AutoYaST profiles in SUSE Manager, the WebUI reports an Syntax error. Checking /var/log/cobbler/cobbler.log the following message is shown:

# *** ERROR ***
# There is a templating error preventing this file from rendering correctly.
# This is most likely not due to a bug in Cobbler and is something you can fix.
# Look at the message below to see what things are causing problems.
# (1) Does the template file reference a $variable that is not defined?
# (2) is there a formatting error in a Cheetah directive?
# (3) Should dollar signs ($) be escaped that are not being escaped?
# Try fixing the problem and then investigate to see if this message goes
# away or changes.
# invalid syntax (<string>, line 1)
#   File "/usr/lib/python2.7/site-packages/cobbler/", line 208, in render_cheetah
#     data_out = t.respond()
#   File "", line 407, in respond
#   File "", line 70, in __errorCatcher1



Escape the "$" with a single backslash ("\"). This will enable cobbler to render the AutoYaST profile.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7023351
  • Creation Date: 14-Sep-2018
  • Modified Date:03-Mar-2020
    • SUSE Manager

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.