2
0
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:
XuWei 2018-04-11 04:46:13 -04:00
parent fc4bbd33fe
commit ee772d59a0

View File

@ -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: