From 8846c95bea163c5f7d7e1622f21099e2decacaea Mon Sep 17 00:00:00 2001 From: daniceexi Date: Mon, 14 Jan 2013 06:58:00 +0000 Subject: [PATCH] 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 --- 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 3cb26a743..2b56d7a42 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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; }