2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 11:12:04 +00:00

Merge pull request #5089 from xuweibj/rflash_arg

fix issue args pass for rflash activate
This commit is contained in:
zet809 2018-04-12 10:07:33 +08:00 committed by GitHub
commit 0864afc2cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: