Weldr API: set the image boot mode in OSBuildJob options
Set the image boot mode (as a string value) in the OSBuildJob options. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
8367a4500a
commit
0a5c82086a
1 changed files with 1 additions and 0 deletions
|
|
@ -2581,6 +2581,7 @@ func (api *API) composeHandler(writer http.ResponseWriter, request *http.Request
|
|||
Build: imageType.BuildPipelines(),
|
||||
Payload: imageType.PayloadPipelines(),
|
||||
},
|
||||
ImageBootMode: imageType.BootMode().String(),
|
||||
}, "")
|
||||
if err == nil {
|
||||
err = api.store.PushCompose(composeID, mf, imageType, bp, size, targets, jobId, packages)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue