X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-cluster-config.git/blobdiff_plain/9d1dcefa8207897bc949c116b9e4ddbac797461a..15977af4793cfee24ff0fcf8c46d73b1c985031b:/debian/transform_lvm.conf.invirt?ds=inline 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;