forked from sig_core/toolkit
add vmware
This commit is contained in:
parent
67d3ed3046
commit
e4c0eb2abc
@ -107,7 +107,7 @@ ALLOWED_TYPE_VARIANTS = {
|
||||
"Container": ["Base", "Minimal", "UBI"],
|
||||
"EC2": ["Base", "LVM"],
|
||||
"GenericCloud": ["Base", "LVM"],
|
||||
"Vagrant": ["Libvirt", "Vbox"],
|
||||
"Vagrant": ["Libvirt", "Vbox", "VMware"],
|
||||
"OCP": None
|
||||
}
|
||||
def valid_type_variant(_type: str, variant: str="") -> bool:
|
||||
|
@ -123,7 +123,8 @@ class ImageBuild:
|
||||
if self.image_type in ["Vagrant"]:
|
||||
_map = {
|
||||
"Vbox": "vmdk",
|
||||
"Libvirt": "qcow2"
|
||||
"Libvirt": "qcow2",
|
||||
"VMware": "vhd"
|
||||
}
|
||||
output = f"{_map[self.variant]}" #type: ignore
|
||||
self.stage_commands = [
|
||||
|
Loading…
Reference in New Issue
Block a user