distro: add URL to OSTreeImageOptions
We need to add the URL to the manifest as an ostree source repo so that osbuild can pull the commit to embed it in the boot ISO for the new rhel-edge-installer image type.
This commit is contained in:
parent
33cebcc8fc
commit
2edb057f3b
2 changed files with 2 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ type ImageOptions struct {
|
|||
type OSTreeImageOptions struct {
|
||||
Ref string
|
||||
Parent string
|
||||
URL string
|
||||
}
|
||||
|
||||
// The SubscriptionImageOptions specify subscription-specific image options
|
||||
|
|
|
|||
|
|
@ -1997,6 +1997,7 @@ func (api *API) composeHandler(writer http.ResponseWriter, request *http.Request
|
|||
OSTree: distro.OSTreeImageOptions{
|
||||
Ref: cr.OSTree.Ref,
|
||||
Parent: cr.OSTree.Parent,
|
||||
URL: cr.OSTree.URL,
|
||||
},
|
||||
},
|
||||
api.allRepositories(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue