Bug 773112 - [RFE] No way to check template box in kickstart scripts section
Summary: [RFE] No way to check template box in kickstart scripts section
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 541
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-10 23:40 UTC by Jean-Pierre Joerg
Modified: 2012-01-11 10:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-11 10:51:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.