Switch back to using bash for config-init script in invirt-cluster-config
[invirt/packages/invirt-cluster-config.git] / debian / transform_lvm.conf.invirt
index faa7592..f0c866c 100755 (executable)
@@ -1,6 +1,7 @@
 #!/usr/bin/perl -0p
 #!/usr/bin/perl -0p
-s/^( *locking_type = )1.*$/$1 = 2/m or die;
-s/^( *fallback_to_clustered_locking = ).*$/$1 = 0/m or die;
-s/^( *fallback_to_local_locking = ).*$/$1 = 0/m or die;
+s#^( *filter) = .*#$1 = [ "r|/dev/mapper/xenvg-.*|" ]#m or die;
+s/^( *locking_type) = 1.*$/$1 = 2/m or die;
+s/^( *fallback_to_clustered_locking) = .*$/$1 = 0/m or die;
+s/^( *fallback_to_local_locking) = .*$/$1 = 0/m or die;
 s/^( *)# *(locking_library.*)$/$1$2/m or die;
 s/^( *)# *(library_dir.*)$/$1$2/m or die;
 s/^( *)# *(locking_library.*)$/$1$2/m or die;
 s/^( *)# *(library_dir.*)$/$1$2/m or die;