Cloud 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
6dbc3c200e
commit
8367a4500a
1 changed files with 1 additions and 0 deletions
|
|
@ -351,6 +351,7 @@ func (s *Server) enqueueKojiCompose(taskID uint64, server, name, version, releas
|
||||||
},
|
},
|
||||||
Targets: targets,
|
Targets: targets,
|
||||||
ManifestDynArgsIdx: common.ToPtr(1),
|
ManifestDynArgsIdx: common.ToPtr(1),
|
||||||
|
ImageBootMode: ir.imageType.BootMode().String(),
|
||||||
}, []uuid.UUID{initID, manifestJobID}, channel)
|
}, []uuid.UUID{initID, manifestJobID}, channel)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return id, HTTPErrorWithInternal(ErrorEnqueueingJob, err)
|
return id, HTTPErrorWithInternal(ErrorEnqueueingJob, err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue