fix: standardized name for OCP to Base, in case of future variants

This commit is contained in:
Neil Hanlon 2023-05-13 17:28:30 -04:00
parent 1fa63f6967
commit f26149337d
Signed by: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -108,7 +108,7 @@ ALLOWED_TYPE_VARIANTS = {
"EC2": ["Base", "LVM"], "EC2": ["Base", "LVM"],
"GenericCloud": ["Base", "LVM"], "GenericCloud": ["Base", "LVM"],
"Vagrant": ["Libvirt", "Vbox", "VMware"], "Vagrant": ["Libvirt", "Vbox", "VMware"],
"OCP": None, "OCP": ["Base"],
"RPI": None, "RPI": None,
} }
def valid_type_variant(_type: str, variant: str="") -> bool: def valid_type_variant(_type: str, variant: str="") -> bool: