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');