diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index a71d421f7..6e6571d88 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -8629,6 +8629,11 @@ sub doSNcopy2 } } + unless(scalar @SNlist) + { + return; + } + my $snlist=join(',',@SNlist); # copy the /etc/hosts file all the SNs