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.
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.