From 3237dc70294edd3251c3a7c3cd7605f7c297f075 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Mon, 14 Jan 2013 06:59:51 +0000 Subject: [PATCH] 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 --- 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 ebc3f28ea..6fba3d0ca 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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; }