diff --git a/managed/scripts/disk-io-failure/disk_io_failure_detection.py b/managed/scripts/disk-io-failure/disk_io_failure_detection.py index 384375ed65c9..6171fbfc20b9 100644 --- a/managed/scripts/disk-io-failure/disk_io_failure_detection.py +++ b/managed/scripts/disk-io-failure/disk_io_failure_detection.py @@ -122,7 +122,7 @@ def parse_config_file(config_path): with open(config_path, 'r') as file: for line in file: line = line.strip() - key, value = line[2:].split('=') + key, value = line[2:].split('=', 1) if key == PROCESS_NAMES_ARG: args[key] = value.split() elif key == TIME_LIMIT_ARG: diff --git a/managed/scripts/disk-io-failure/disk_io_failure_detection_py3.py b/managed/scripts/disk-io-failure/disk_io_failure_detection_py3.py index 9f770f22d98f..981805f91895 100644 --- a/managed/scripts/disk-io-failure/disk_io_failure_detection_py3.py +++ b/managed/scripts/disk-io-failure/disk_io_failure_detection_py3.py @@ -116,7 +116,7 @@ def parse_config_file(config_path): for line in file: line = line.strip() if line.startswith(DOUBLE_HYPHEN): - key, value = line[2:].split('=') + key, value = line[2:].split('=', 1) if key == PROCESS_NAMES_ARG: args[key] = value.split() elif key == TIME_LIMIT_ARG: