cloudapi: add vsphere-ova type
This commit is contained in:
parent
282e82dbba
commit
fb66b4bbf3
3 changed files with 74 additions and 67 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue