From 604c55e4f3a059abbca83ba66ddbb5d79634c165 Mon Sep 17 00:00:00 2001 From: yinle Date: Mon, 5 Mar 2012 05:52:08 +0000 Subject: [PATCH] Fix Bug 3496904:nodeset has error for rh6.1 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11742 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 791a025c0..a63c4d172 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -157,7 +157,7 @@ sub mknetboot } my $globaltftpdir = "/tftpboot"; my $nodes = @{$req->{node}}; - my @args = @{$req->{arg}}; + my @args = @{$req->{arg}} if(exists($req->{arg})); my @nodes = @{$req->{node}}; my $ostab = xCAT::Table->new('nodetype'); my $sitetab = xCAT::Table->new('site');