Browse Source

lvm: install thin utils for non-hostonly

master
Harald Hoyer 12 years ago
parent
commit
a3c0cef9a7
  1. 4
      modules.d/90lvm/module-setup.sh

4
modules.d/90lvm/module-setup.sh

@ -52,6 +52,7 @@ install() { @@ -52,6 +52,7 @@ install() {

inst lvm

if [[ $hostonly ]]; then
get_host_lvs | while read line; do
printf "%s" " rd.lvm.lv=$line"
if ! [[ $_needthin ]]; then
@ -59,6 +60,9 @@ install() { @@ -59,6 +60,9 @@ install() {
fi
done >> "${initdir}/etc/cmdline.d/90lvm.conf"
echo >> "${initdir}/etc/cmdline.d/90lvm.conf"
else
_needthin=1
fi

inst_rules "$moddir/64-lvm.rules"


Loading…
Cancel
Save