From f672610509afaf39308ba833b7bb920786b0c1e2 Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Tue, 12 Nov 2024 13:56:42 +0100 Subject: [PATCH] cmd/osbuild-worker: specify hyper v gen for azure images --- cmd/osbuild-worker/jobimpl-osbuild.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/osbuild-worker/jobimpl-osbuild.go b/cmd/osbuild-worker/jobimpl-osbuild.go index c5e6db7ce..d5d24a7f2 100644 --- a/cmd/osbuild-worker/jobimpl-osbuild.go +++ b/cmd/osbuild-worker/jobimpl-osbuild.go @@ -981,6 +981,7 @@ func (impl *OSBuildJobImpl) Run(job worker.Job) error { blobName, jobTarget.ImageName, location, + targetOptions.HyperVGeneration, ) if err != nil { targetResult.TargetError = clienterrors.New(clienterrors.ErrorImportingImage, fmt.Sprintf("registering the image failed: %v", err), nil)