2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

Add ol to the list of OSes in the subroutine using_dracut of anaconda.pm

This commit is contained in:
Wai Yee Wong 2021-11-04 11:09:07 -04:00
parent 22a2bc1a23
commit 5476959365

View File

@ -145,7 +145,7 @@ sub process_request
sub using_dracut
{
my $os = shift;
if ($os =~ /(rhels|rhel|centos|rocky)(\d+)/) {
if ($os =~ /(rhels|rhel|centos|rocky|ol)(\d+)/) {
if ($2 >= 6) {
return 1;
}