make the dfm log message only if they are using DFM

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2011-11-29 05:16:54 +00:00
parent 553141df61
commit 9ffdd908c6

View File

@ -207,8 +207,12 @@ sub parse_args {
if(noderange_validate($request) == -1) {
return(usage());
}
$request->{callback}->({data =>[ "It may take considerable time to complete, depending on the number of systems being updated. In particular, power subsystem updates may take an hour or more if there are many attached managed systems. Please waiting. If you use Direct FSP/BPA management(DFM) to do the firmware update, You can find the log files in the /var/log/xcatd/dfm/rflash/."]});
$request->{callback}->({data =>[ "It may take considerable time to complete, depending on the number of systems being updated. In particular, power subsystem updates may take an hour or more if there are many attached managed systems. Please waiting. "]});
if( $request->{hwtype} =~ /^fsp$/ && $opt{activate} =~ /^disruptive$/ ) {
$request->{callback}->({data =>[ "You can find the log files in the /var/log/xcatd/dfm/rflash/."]});
}
####################################
# No operands - add command name