Bug 430068 - directives cannot be overridden in inherited kickstart
Summary: directives cannot be overridden in inherited kickstart
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pykickstart
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-24 11:35 UTC by Rahul Sundaram
Modified: 2013-03-13 05:43 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-03-31 21:02:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rahul Sundaram 2008-01-24 11:35:18 UTC
Description of problem:

While creating live cd's, I inherit a ks file and try to override the repo
option to point to a local mirror which doesn't work. 

Actual results:

It ignores the repo configuration in the main ks file and uses the repo option
in the base inherited ks file

Expected results:

Capability to override any ks directives
 
Additional info:

I suspect other directives like selinux are not being honored too. It would be
very useful to me, if I had flexibility to override any of the ks directives in
the main ks file after inheriting them for the purpose of creating custom spins
of Fedora and RHEL.

Comment 1 Chris Lumens 2008-01-24 15:30:30 UTC
The repo command is special because it can be given multiple times in a single
kickstart file.  Every time the repo command is seen, another repo object is
constructed and appended to a list.  I bet you've got both the base file's repos
and the second file's repos included.

What does your code look like?

Comment 2 Rahul Sundaram 2008-01-25 08:17:15 UTC
Yes. I have repository configurations in both the files. Is there a way to set a
priority to a particular repository? 

Comment 3 Chris Lumens 2008-01-28 22:45:45 UTC
You can use repo --priority=

Comment 4 Rahul Sundaram 2008-02-22 14:56:47 UTC
That works. Thank you. please ensure that this option is well documented. If all
other directives can be overridden, feel free to close this bug. 


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