make the centos to support dracut

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2013-01-14 06:58:00 +00:00
parent 238d650327
commit 8846c95bea

View File

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