Created
August 3, 2016 23:10
-
-
Save bsanders/93343b57eb2877053c1cc6c3f6894980 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /opt/stack/lib/python2.6/site-packages/stack/commands/load/storage/partition/imp_load_default.py 2016-08-03 16:00:01.141946623 -0700 | |
+++ /opt/stack/lib/python2.6/site-packages/stack/commands/load/storage/partition/imp_load_default.py.new 2016-08-03 15:59:40.271227621 -0700 | |
@@ -196,7 +196,7 @@ | |
type_dict[type_key] = device_arr | |
# Regexp to match Hard disk labels | |
- hd_label_regexp = '([shv]d[a-z]+)|(md[0-9]+)' | |
+ hd_label_regexp = '(x?[shv]d[a-z]+)|(md[0-9]+)' | |
hd_regexp = re.compile(hd_label_regexp) | |
# Revalidate the spreadsheet to check if pv's, volgroups have been defined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment