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
This commit is contained in:
daniceexi 2009-11-13 14:06:44 +00:00
parent 06aaca242e
commit 065eb30d5e

View File

@ -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";