diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index e31371e22..467ae0f43 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -336,7 +336,9 @@ sub makescript { } } } else { - $syncfile = xCAT::SvrUtils->getsynclistfile(undef, $os, $arch, $profile, $nodesetstate); + my $stat="install"; + if (($nodesetstate) && ($nodesetstate eq "netboot")) { $stat="netboot";} + $syncfile = xCAT::SvrUtils->getsynclistfile(undef, $os, $arch, $profile, $stat); } if (! defined ($syncfile)) { push @scriptd, "NOSYNCFILES=1\n";