mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Merge pull request #5416 from bybai/rf
put a delay of 3 seconds to untar the firmware file for rflash -d
This commit is contained in:
commit
4d0bde05d6
@ -4793,6 +4793,10 @@ sub rflash_upload {
|
||||
unless ($::UPLOAD_AND_ACTIVATE or $::UPLOAD_ACTIVATE_STREAM) {
|
||||
xCAT::SvrUtils::sendmsg("$upload_success_msg", $callback, $node);
|
||||
}
|
||||
#Put a delay of 3 seconds to allow time for the BMC to untar the file we just uploaded
|
||||
if (defined($::UPLOAD_ACTIVATE_STREAM)){
|
||||
sleep 3;
|
||||
}
|
||||
print RFLASH_LOG_FILE_HANDLE "$upload_success_msg\n";
|
||||
# Try to logoff, no need to check result, as there is nothing else to do if failure
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user