mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-12 17:30:19 +00:00
put a delay of 3 seconds to untar the firmware file for rflash -d
This commit is contained in:
@ -4773,6 +4773,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 untar the file
|
||||
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 {
|
||||
|
Reference in New Issue
Block a user