From 54769593653dc26c21a0f6a16ab50a086fbddede Mon Sep 17 00:00:00 2001 From: Wai Yee Wong Date: Thu, 4 Nov 2021 11:09:07 -0400 Subject: [PATCH] Add ol to the list of OSes in the subroutine using_dracut of anaconda.pm --- xCAT-server/lib/xcat/plugins/anaconda.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index b3a6f7b43..5c0d0507a 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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; }