Correctly generate cluster.conf for a two-node cluster.
[invirt/packages/invirt-cluster-config.git] / debian / transform_lvm.conf.invirt
index 33f9214..f0c866c 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/perl -0p
+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;