internal/image: add ova support to live image

This commit is contained in:
Sanne Raymaekers 2023-03-30 11:44:37 +02:00
parent 53fa47f104
commit 1687937c51
3 changed files with 68 additions and 0 deletions

View file

@ -18,6 +18,7 @@ const (
FORMAT_VMDK
FORMAT_VHD
FORMAT_GCE
FORMAT_OVA
)
func (a Arch) String() string {
@ -49,6 +50,8 @@ func (f ImageFormat) String() string {
return "vhd"
case FORMAT_GCE:
return "gce"
case FORMAT_OVA:
return "ova"
default:
panic("invalid image format")
}