Don't detect guests' VGs in the hosts 0.0.4
authorEvan Broder <broder@mit.edu>
Sun, 9 Nov 2008 04:34:30 +0000 (23:34 -0500)
committerEvan Broder <broder@mit.edu>
Sun, 9 Nov 2008 04:34:30 +0000 (23:34 -0500)
svn path=/trunk/packages/invirt-cluster-config/; revision=1567

debian/changelog
debian/transform_lvm.conf.invirt

index f238f46..b88672c 100644 (file)
@@ -1,3 +1,10 @@
+invirt-cluster-config (0.0.4) unstable; urgency=low
+
+  * Ignore detecting VGs on guests by not scanning any block device nodes
+    in /dev/mapper/xenvg-*
+
+ -- Evan Broder <broder@mit.edu>  Sat, 08 Nov 2008 23:34:06 -0500
+
 invirt-cluster-config (0.0.3) unstable; urgency=low
 
   * Punt the postinst - it causes more trouble than anything else
 invirt-cluster-config (0.0.3) unstable; urgency=low
 
   * Punt the postinst - it causes more trouble than anything else
index 33f9214..f0c866c 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/perl -0p
 #!/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;
 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;