Bug 773112

Summary: [RFE] No way to check template box in kickstart scripts section
Product: Red Hat Satellite 5 Reporter: Jean-Pierre Joerg <jjoerg>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 541CC: slukasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-11 10:51:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jean-Pierre Joerg 2012-01-10 23:40:08 UTC
Description of problem:
Didn't find any api to  check template box in kickstart scripts section. All other options seems to be there but not this one. It gives problems when calling some snippets from the scripts

Version-Release number of selected component (if applicable):
All

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Tomas Lestach 2012-01-11 10:51:28 UTC
kickstart.profile.listScripts API returns:

array:
  struct - kickstart script
    int "id"
    string "contents"
    string "script_type" - Which type of script ('pre' or 'post').
    string "interpreter" - The scripting language interpreter to use for this script. An empty string indicates the default kickstart shell.
    boolean "chroot" - True if the script will be executed within the chroot environment.
    boolean "template" - True if templating using cobbler is enabled

boolean "template" is what you're looking for

Closing as CURRENTRELEASE.