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
1 changed files with 6 additions and 1 deletions

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?