osbuild-pipeline: add support for RHSM when defining repos
I use this tool quite a lot and I often want to use the CDN content, so I would very much appreciate RHSM support. :) Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
d877b7419e
commit
9633dce3bb
1 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ type repository struct {
|
|||
GPGKey string `json:"gpgkey,omitempty"`
|
||||
CheckGPG bool `json:"check_gpg,omitempty"`
|
||||
PackageSets []string `json:"package_sets,omitempty"`
|
||||
RHSM bool `json:"rhsm,omitempty"`
|
||||
}
|
||||
|
||||
type ostreeOptions struct {
|
||||
|
|
@ -154,6 +155,7 @@ func main() {
|
|||
GPGKeys: keys,
|
||||
CheckGPG: repo.CheckGPG,
|
||||
PackageSets: repo.PackageSets,
|
||||
RHSM: repo.RHSM,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue