remove some conserverondemand code from FSPboot.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8571 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2011-01-06 09:28:20 +00:00
parent 13ed532c0f
commit 28dce28391

View File

@ -268,22 +268,22 @@ sub rnetboot {
}
}
my $sitetab = xCAT::Table->new('site');
my $vcon = $sitetab->getAttribs({key => "conserverondemand"}, 'value');
if ($vcon and $vcon->{"value"} and $vcon->{"value"} eq "yes" ) {
#my $sitetab = xCAT::Table->new('site');
#my $vcon = $sitetab->getAttribs({key => "conserverondemand"}, 'value');
#if ($vcon and $vcon->{"value"} and $vcon->{"value"} eq "yes" ) {
# $result = xCAT::PPCcli::lpar_netboot(
# $exp,
# $request->{verbose},
# $name,
# $d,
# \%opt );
return( [[$node,"Not support conserverondemand's value is yes",RC_ERROR]] );
} else {
# return( [[$node,"Not support conserverondemand's value is yes",RC_ERROR]] );
#} else {
#########################################
# Manually perform boot.
#########################################
$result = do_rnetboot( $request, $d, $exp, $name, $node, \%opt );
}
#}
$sitetab->close;
if (defined($request->{opt}->{m})) {