From b343637745bb383c696bf5b8e48c70d23c2d1483 Mon Sep 17 00:00:00 2001 From: Vratislav Podzimek Date: Fri, 19 Sep 2014 13:28:40 +0200 Subject: [PATCH] Keep the /etc/lvm/profiles directory in the image Profile definitions are needed e.g. for creation of thin pools with specific profile. Related: rhbz#869456 --- share/runtime-postinstall.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl index fb13b8df..bdba76a0 100644 --- a/share/runtime-postinstall.tmpl +++ b/share/runtime-postinstall.tmpl @@ -115,7 +115,12 @@ append etc/depmod.d/dd.conf "search updates built-in" append etc/multipath.conf "defaults {\n\tfind_multipaths yes\n\tuser_friendly_names yes\n}\n" ## make lvm auto-activate -remove etc/lvm/* +remove etc/lvm/archive/* +remove etc/lvm/archive +remove etc/lvm/backup/* +remove etc/lvm/backup +remove etc/lvm/cache/* +remove etc/lvm/cache append etc/lvm/lvm.conf "global {\n\tuse_lvmetad = 1\n}\n" ## TODO: we could run prelink here if we wanted?