From 065eb30d5e7944ad7390bd1783bbe573fb18f85a Mon Sep 17 00:00:00 2001 From: daniceexi Date: Fri, 13 Nov 2009 14:06:44 +0000 Subject: [PATCH] defect 2894479: set install as the default value of nodesetstate git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/Postage.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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";