From d243db5466591412a3c99bb5be84e338da9ba4c9 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Thu, 24 Mar 2016 12:26:28 -0500 Subject: [PATCH] lvmdbusd: Add '-' to allowable PV device path chars --- daemons/lvmdbusd/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemons/lvmdbusd/utils.py b/daemons/lvmdbusd/utils.py index dacd0ef22..3dcb373b0 100644 --- a/daemons/lvmdbusd/utils.py +++ b/daemons/lvmdbusd/utils.py @@ -389,7 +389,7 @@ def round_size(size_bytes): return size_bytes + bs - remainder -_ALLOWABLE_CH = string.ascii_letters + string.digits + '#+.:=@_\/%' +_ALLOWABLE_CH = string.ascii_letters + string.digits + '#+-.:=@_\/%' _ALLOWABLE_CH_SET = set(_ALLOWABLE_CH) _ALLOWABLE_VG_LV_CH = string.ascii_letters + string.digits + '.-_+'