Bug 704886 - When using child channels in a kickstart they are added after %include statetments
Summary: When using child channels in a kickstart they are added after %include statet...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning
Version: 540
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2011-05-15 18:47 UTC by Raul Mahiques
Modified: 2014-07-04 13:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-04 13:25:31 UTC
Target Upstream Version:


Attachments (Terms of Use)
Satellite web interface, some child channels marked (25.74 KB, image/jpeg)
2011-05-15 18:47 UTC, Raul Mahiques
no flags Details
Satellite web interface, part of the resulting kickstart file (127.02 KB, image/jpeg)
2011-05-15 18:47 UTC, Raul Mahiques
no flags Details

Description Raul Mahiques 2011-05-15 18:47:02 UTC
Created attachment 499042 [details]
Satellite web interface, some child channels marked

Description of problem:
When using child channels in a kickstart they are added after %include statetments, therefore the kickstart will fail if the included file/s contain %packages section since those child channels will be dealt by anaconda as packages, also any package included in that child channels will be missing.

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

How reproducible:

Steps to Reproduce:
1. Create a kickstart and select some child channels.
2. Add an %include <file_to_include> statement
3. In the file <file_to_include> add at the end a %packages section with some packages on it.
4. Try to deploy a server with that kickstart.
  
Actual results:
The repos statements (Child channels) will be added after the %include statement therefore the deployment will ask the user to ignore or abort the installion and will not install any packages from that child channels.


Expected results:
The repo statements are added before the %include statement together with the repo statements used for the marked repositories in the Satellite web interface.

Additional info:
Attached screenshoots.

Comment 1 Raul Mahiques 2011-05-15 18:47:55 UTC
Created attachment 499043 [details]
Satellite web interface, part of the resulting kickstart file


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