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:
Ondřej Budai 2023-02-02 22:53:08 +01:00 committed by Tomáš Hozza
parent d877b7419e
commit 9633dce3bb

View file

@ -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,
}
}