CreateImageWizard: RHEL 9
Expose rhel-90, it has reached GA.
This commit is contained in:
parent
40f7be170c
commit
cfaa8a463d
7 changed files with 31 additions and 9 deletions
16
src/Utilities/isRhel.js
Normal file
16
src/Utilities/isRhel.js
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue