make the centos to support dracut

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2013-01-14 06:59:51 +00:00
parent 5ad03e3ea3
commit 3237dc7029

View File

@ -128,7 +128,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;
}