internal/image: add ova support to live image
This commit is contained in:
parent
53fa47f104
commit
1687937c51
3 changed files with 68 additions and 0 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue