Red Hat Bugzilla – Bug 430068
directives cannot be overridden in inherited kickstart
Last modified: 2013-03-13 01:43:04 EDT
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.
It ignores the repo configuration in the main ks file and uses the repo option
in the base inherited ks file
Capability to override any ks directives
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.
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?
Yes. I have repository configurations in both the files. Is there a way to set a
priority to a particular repository?
You can use repo --priority=
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.