From 8367a4500a5d53d5ad06afda46ab60f7784c6be3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Tue, 1 Aug 2023 13:49:25 +0200 Subject: [PATCH] Cloud API: set the image boot mode in OSBuildJob options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set the image boot mode (as a string value) in the OSBuildJob options. Signed-off-by: Tomáš Hozza --- internal/cloudapi/v2/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/cloudapi/v2/server.go b/internal/cloudapi/v2/server.go index 45c12ad6b..3b7dd2882 100644 --- a/internal/cloudapi/v2/server.go +++ b/internal/cloudapi/v2/server.go @@ -351,6 +351,7 @@ func (s *Server) enqueueKojiCompose(taskID uint64, server, name, version, releas }, Targets: targets, ManifestDynArgsIdx: common.ToPtr(1), + ImageBootMode: ir.imageType.BootMode().String(), }, []uuid.UUID{initID, manifestJobID}, channel) if err != nil { return id, HTTPErrorWithInternal(ErrorEnqueueingJob, err)