Skip to content

Instantly share code, notes, and snippets.

@bsanders
Created August 3, 2016 23:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bsanders/93343b57eb2877053c1cc6c3f6894980 to your computer and use it in GitHub Desktop.
Save bsanders/93343b57eb2877053c1cc6c3f6894980 to your computer and use it in GitHub Desktop.
--- /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