summaryrefslogtreecommitdiff
path: root/scripts/vgimportclone.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vgimportclone.sh')
-rwxr-xr-xscripts/vgimportclone.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vgimportclone.sh b/scripts/vgimportclone.sh
index 520ca0294..d6ad75d3c 100755
--- a/scripts/vgimportclone.sh
+++ b/scripts/vgimportclone.sh
@@ -250,6 +250,7 @@ LVMCONF=${TMP_LVM_SYSTEM_DIR}/lvm.conf
/^[ \t]*scan[ \t]*=/{print "scan = [ \"" DEV "\" ]";next} \
/^[ \t]*cache[ \t]*=/{print "cache = \"" CACHE "\"";next} \
/^[ \t]*use_lvmetad[ \t]*=/{print "use_lvmetad = 0";next} \
+ /^[ \t]*global_filter[ \t]*=/{print "global_filter = [ \"a|.*|\" ]";next} \
/^[ \t]*cache_dir[ \t]*=/{print "cache_dir = \"" CACHE_DIR "\"";next} \
{print $0}' > ${LVMCONF}