X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-cluster-config.git/blobdiff_plain/9d1dcefa8207897bc949c116b9e4ddbac797461a..728b6d03f034f28f8e9652b0ffc1150ae3c17ee3:/debian/transform_lvm.conf.invirt diff --git a/debian/transform_lvm.conf.invirt b/debian/transform_lvm.conf.invirt index faa7592..f0c866c 100755 --- a/debian/transform_lvm.conf.invirt +++ b/debian/transform_lvm.conf.invirt @@ -1,6 +1,7 @@ #!/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;