mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
fix issue args pass for rflash activate
This commit is contained in:
parent
fc4bbd33fe
commit
ee772d59a0
@ -98,7 +98,7 @@ class OpenBMCFlashTask(ParallelNodesCommand):
|
||||
os.makedirs(XCAT_LOG_RFLASH_DIR)
|
||||
|
||||
if activate_arg.endswith('.tar'):
|
||||
version = self._get_firmware_version()
|
||||
version = self._get_firmware_version(self.firmware_file)
|
||||
self.firmware.update(version)
|
||||
self.callback.info('Attempting to upload %s, please wait...' % self.firmware_file)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user