diff options
Diffstat (limited to 'ironic_python_agent/utils.py')
-rw-r--r-- | ironic_python_agent/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic_python_agent/utils.py b/ironic_python_agent/utils.py index 4cfe0ac9..ff0f8926 100644 --- a/ironic_python_agent/utils.py +++ b/ironic_python_agent/utils.py @@ -890,7 +890,7 @@ def rescan_device(device): kernel partition records. """ try: - execute('partx', '-a', device, attempts=3, delay_on_retry=True) + execute('partx', '-av', device, attempts=3, delay_on_retry=True) except processutils.ProcessExecutionError: LOG.warning("Couldn't re-read the partition table " "on device %s", device) |