Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix logic for bundle mismatch function
Bundle created from snc have type as `snc (single node cluster)` for okd/ocp. Current detection around `bundleMetadata.IsOpenShift()` always true for okd and ocp (which is buggy because following scenario fails and it should be capture as part of preset mismatch logic) ``` crc config set preset okd crc start --bundle crc_libvirt_4.10.14.crcbundle Since it is ocp bundle so pullsecret should be asked but as part of okd preset it is ignored and hence a failed cluster. ``` We do need to figure out best way to detect if bundle is OCP/OKD and print out the mismatch here. May be add another field in bundle-info data (snc side) as preset and put ocp/okd/podman according to bundle generation. As of now it is half backed solution (buggy one) but good as long as user manually download bundle and use it with different preset.
- Loading branch information