Bug 1664750 - [RFE] Possibility to not include or/and disable repo by id (name) in kickstart
Summary: [RFE] Possibility to not include or/and disable repo by id (name) in kickstart
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 26
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: 26.3
Assignee: Martin Styk
QA Contact: tools-bugs
URL:
Whiteboard:
: 1574803 (view as bug list)
Depends On:
Blocks: 1665019
TreeView+ depends on / blocked
 
Reported: 2019-01-09 15:15 UTC by Martin Styk
Modified: 2019-02-18 12:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 09:40:15 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Beaker Project Gerrit 6382 0 None MERGED ks: Added support for disabling/removing repos 2020-05-15 13:22:32 UTC

Description Martin Styk 2019-01-09 15:15:24 UTC
Description of problem:
It is not possible to select one particular repository in distribution are remove it or disable it in kickstart

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

How reproducible:
Try to disable one particular repository

Actual results:
Not possible

Expected results:
The repository is disabled by default

Additional info:

Comment 1 Christopher Beer 2019-01-09 15:32:46 UTC
While I am sure you have thought of this already, I just want to add a brief comment here to make sure that the solution allow multiple repos IDs (names) to be selected for removal/disabling.

Comment 2 Martin Styk 2019-01-10 07:10:42 UTC
Yes, it will be working in the same ways as no_<type>_repos worked. So, if you want to remove/disable multiple IDs (names) you have to list them one by one.

Comment 3 Martin Styk 2019-01-10 08:32:21 UTC
support will be added for following options in ks meta: 
no_repo_<repo_id> - repo_id(name) is not part of kickstart not yum.repos.d (equivalent for no_<type>_repos)
disable_<type>_repos - All repos of given type are not part of kickstart, however, they are created in yum.repos.d, but enabled flag is set to 0. 
disable_repo_<repo_id> - Same as disable_<type>_repos but for individual repo defined by repo_id.

Comment 4 Martin Styk 2019-01-10 16:43:29 UTC
The patch has been merged. I will test it tomorrow in devel environment.

Comment 6 Martin Styk 2019-01-28 10:05:56 UTC
Beaker 26.3 has been released.

Comment 7 Martin Styk 2019-02-18 12:03:15 UTC
*** Bug 1574803 has been marked as a duplicate of this bug. ***


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