diff --git a/pkg/crc/image/image.go b/pkg/crc/image/image.go index fb40dd7894..5417df4b7e 100644 --- a/pkg/crc/image/image.go +++ b/pkg/crc/image/image.go @@ -107,6 +107,8 @@ func getImageName(preset crcpreset.Preset) string { return "podman-bundle" case crcpreset.OKD: return "okd-bundle" + case crcpreset.Microshift: + return "microshift-bundle" default: return "openshift-bundle" } @@ -120,6 +122,8 @@ func getPresetNameE(imageName string) (crcpreset.Preset, error) { return crcpreset.OKD, nil case "podman-bundle": return crcpreset.Podman, nil + case "microshift-bundle": + return crcpreset.Microshift, nil default: return crcpreset.OpenShift, fmt.Errorf("invalid image name '%s' (Should be openshift-bundle, okd-bundle or podman-bundle)", imageName) }