CreateImageWizard: RHEL 9

Expose rhel-90, it has reached GA.
This commit is contained in:
Sanne Raymaekers 2022-05-18 11:36:06 +02:00
parent 40f7be170c
commit cfaa8a463d
7 changed files with 31 additions and 9 deletions

16
src/Utilities/isRhel.js Normal file
View file

@ -0,0 +1,16 @@
import {
RHEL_8,
RHEL_9,
} from '../constants';
function isRhel(distro) {
switch (distro) {
case RHEL_8:
case RHEL_9:
return true;
default:
return false;
}
}
export default isRhel;