Don't include the stock lvm.conf. (#1157864)

We started including it as an unintended side-effect of commit 9ca487f8.

lvm doesn't like it when there are multiple 'global' sections in lvm.conf,
and we add one right at the end of that block. We expect ours to be the
file's only content.
This commit is contained in:
David Lehman 2014-10-28 12:41:24 -05:00
parent c04ff4132b
commit 4a7552d4be
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ remove etc/lvm/backup/*
remove etc/lvm/backup
remove etc/lvm/cache/*
remove etc/lvm/cache
remove etc/lvm/lvm.conf
append etc/lvm/lvm.conf "global {\n\tuse_lvmetad = 1\n}\n"
## Record the package versions used to create the image