summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2016-03-24 12:26:28 -0500
committerTony Asleson <tasleson@redhat.com>2016-03-24 12:27:02 -0500
commitd243db5466591412a3c99bb5be84e338da9ba4c9 (patch)
tree3f1149cc5f6959d88a76c18e938caaf07133df66
parent109b7e2095a7bc5603bf79db0224b8399463af7c (diff)
downloadlvm2-d243db5466591412a3c99bb5be84e338da9ba4c9.tar.gz
lvmdbusd: Add '-' to allowable PV device path chars
-rw-r--r--daemons/lvmdbusd/utils.py2
1 files changed, 1 insertions, 1 deletions
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 + '.-_+'