fix for bug 2961809: rnetboot for Linux node should not print nimnodeset information

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2010-03-09 11:36:23 +00:00
parent d4e7353ace
commit 6c94b593a0
2 changed files with 2 additions and 2 deletions

View File

@ -248,7 +248,7 @@ sub rnetboot {
my $chaintab = xCAT::Table->new('chain');
my $vcon = $chaintab->getAttribs({ node => "$node"}, 'currstate');
if ( $vcon and $vcon->{"currstate"} and $vcon->{"currstate"} eq "boot" ) {
return( [[$node,"Node is in boot state. Use nimnodeset command before rnetboot or -F option to forcely reinitialize",RC_ERROR]] );
return( [[$node,"Node is in boot state. Use nodeset command before rnetboot or use -F option with rnetboot",RC_ERROR]] );
}
}

View File

@ -323,7 +323,7 @@ sub rnetboot {
my $chaintab = xCAT::Table->new('chain');
my $vcon = $chaintab->getAttribs({ node => "$node"}, 'currstate');
if ( $vcon and $vcon->{"currstate"} and $vcon->{"currstate"} eq "boot" ) {
return( [[$node,"Node is in boot state. Use nimnodeset command before rnetboot or -F option to forcely reinitialize",RC_ERROR]] );
return( [[$node,"Node is in boot state. Use nodeset command before rnetboot or use -F option with rnetboot",RC_ERROR]] );
}
}