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
This commit is contained in:
Vratislav Podzimek 2014-09-19 13:28:40 +02:00
parent 036d7d1a79
commit b343637745

View File

@ -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?