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:
parent
d4e7353ace
commit
6c94b593a0
@ -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]] );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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]] );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user