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.
Environment
SUSE Manager 3.1
SUSE Manager 3
Situation
# *** 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/templar.py", line 208, in render_cheetah
# data_out = t.respond()
#
# File "cheetah_DynamicallyCompiledCheetahTemplate_1536048469_25_59941.py", line 407, in respond
#
# File "cheetah_DynamicallyCompiledCheetahTemplate_1536048469_25_59941.py", line 70, in __errorCatcher1
#
Resolution
Disclaimer
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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com