cmd/osbuild-worker: specify hyper v gen for azure images
This commit is contained in:
parent
fb3e1b0701
commit
f672610509
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue