Red Hat Bugzilla – Bug 499046
Need tooltip and upgrade path for %post/%pre scripts edit page
Last modified: 2009-09-10 15:25:31 EDT
Because existing kickstart pre and post scripts may contain $variables that are not going to resolve when cobbler renders the profiles we need to pre and postpend the following during the upgrade of Satellite 5.2 -> 5.3:
.. existing script ..
this will ensure compatibility.
Also need a tooltip on the kickstart script create/edit page noting that if you have $variables that are not associated with the profile you need to wrap them with #raw and #end raw
so i added a 'template' option to the scripts edit/create page that is disabled by default. If it's disabled
& #end raw
are added to the script
Moving to RELEASE_PENDING
Verified that "template" option checkbox controls the inserts of "#raw #end raw" by looking at a kickstart file under /var/lib/rhn/kickstarts/wizard
%post --interpreter testscript01
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.