cloudapi: add vsphere-ova type

This commit is contained in:
Sanne Raymaekers 2023-06-01 21:33:15 +02:00 committed by Tomáš Hozza
parent 282e82dbba
commit fb66b4bbf3
3 changed files with 74 additions and 67 deletions

View file

@ -558,6 +558,8 @@ func (h *apiHandlers) PostCompose(ctx echo.Context) error {
fallthrough
case ImageTypesVsphere:
fallthrough
case ImageTypesVsphereOva:
fallthrough
case ImageTypesImageInstaller:
fallthrough
case ImageTypesEdgeInstaller:
@ -765,6 +767,8 @@ func imageTypeFromApiImageType(it ImageTypes, arch distro.Arch) string {
return "qcow2"
case ImageTypesVsphere:
return "vmdk"
case ImageTypesVsphereOva:
return "ova"
case ImageTypesImageInstaller:
return "image-installer"
case ImageTypesEdgeCommit: