Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ValidateBundlePath for setup command
As of now there is no warning as part of setup if specified bundle doesn't correspond to the expected one. This patch uses ValidateBundlePath which validate user's specify bundle patch and also let user know if the bundle is in used, different from the expected one. ``` $ ./crc setup -b ~/.crc/cache/crc_libvirt_4.10.22_amd64.crcbundle WARN Using crc_libvirt_4.10.22_amd64.crcbundle bundle, but crc_libvirt_4.11.0_amd64.crcbundle is expected for this release $ ./crc config set bundle ~/.crc/cache/crc_libvirt_4.10.22_amd64.crcbundle WARN Using crc_libvirt_4.10.22_amd64.crcbundle bundle, but crc_libvirt_4.11.0_amd64.crcbundle is expected for this release Successfully configured bundle to /home/prkumar/.crc/cache/crc_libvirt_4.10.22_amd64.crcbundle ```
- Loading branch information