While uploading kickstart profile on Satellite it fails with 'Cheetah.Parser.ParseError' error

Solution Verified - Updated -

Issue

  • Unable to upload or create kickstart profile on Satellite when it has $ special character, it fails with error as below,
<class 'Cheetah.Parser.ParseError'>:

Error in the Python code which Cheetah generated for this template:
================================================================================

EOL while scanning string literal (cheetah_DynamicallyCompiledCheetahTemplate_1396608396_49_95056.py, line 74)

Line|Python Code
----|-------------------------------------------------------------
72  |
73  |        try:
74  |            return eval('''VFSL([locals()]+SL+[globals(), __builtin__],"list",True)-harddrives | awk '{print $1}'''', globals(), localsDict)
                              =================================================================================

Here is the corresponding Cheetah code.
** I had to guess the line & column numbers, so they are probably incorrect:

Line 18, column 22

Line|Cheetah Code
----|-------------------------------------------------------------
18  |rootpw --iscrypted $1$RiVVxSgn$8IIh1qZmziXHGPHvd87F.0
                          ^

Environment

  • Red Hat Network Satellite 5.4
  • Red Hat Network Satellite 5.5
  • Red Hat Network Satellite 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content