diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index e5d2307f1..8bb6cdaef 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -191,8 +191,8 @@ sub makescript my $groups= $nodelisttab->getNodeAttribs($node, ['groups']); - push @scriptd, "GROUPS=$groups->{groups}\n"; - push @scriptd, "export GROUPS\n"; + push @scriptd, "GROUP=$groups->{groups}\n"; + push @scriptd, "export GROUP\n"; # read the sshbetweennodes attribute and process my $enablessh=xCAT::Utils->enablessh($node); if ($enablessh == 1) {