Actually regenerate the corosync config file in invirt-cluster-config's init script.
[invirt/packages/invirt-cluster-config.git] / debian / transform_lvm.conf.invirt
index faa7592..4b7f82b 100755 (executable)
@@ -1,6 +1,4 @@
 #!/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/^( *)# *(locking_library.*)$/$1$2/m or die;
-s/^( *)# *(library_dir.*)$/$1$2/m or die;
+s#^( *filter) = .*#$1 = [ "r|/dev/mapper/xenvg-.*|" ]#m or die;
+s/^( *locking_type) = 1.*$/$1 = 3/m or die;
+s/^( *retain_min) = .*$/$1 = 2147483647/m or die;