projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2765b5
)
lvm: add "--yes" to lvm lvchange
author
Harald Hoyer
<harald@redhat.com>
Wed, 31 Jul 2013 15:17:37 +0000
(17:17 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 31 Jul 2013 15:17:37 +0000
(17:17 +0200)
modules.d/90lvm/lvm_scan.sh
patch
|
blob
|
history
diff --git
a/modules.d/90lvm/lvm_scan.sh
b/modules.d/90lvm/lvm_scan.sh
index
cc006c8
..
85ecd4d
100755
(executable)
--- a/
modules.d/90lvm/lvm_scan.sh
+++ b/
modules.d/90lvm/lvm_scan.sh
@@
-108,9
+108,9
@@
if [ -n "$LVS" ] ; then
info "Scanning devices $lvmdevs for LVM logical volumes $LVS"
lvm lvscan --ignorelockingfailure 2>&1 | vinfo
if [ -z "$sysinit" ]; then
- lvm lvchange -ay --ignorelockingfailure $nopoll --ignoremonitoring $LVS 2>&1 | vinfo
+ lvm lvchange -
-yes -
ay --ignorelockingfailure $nopoll --ignoremonitoring $LVS 2>&1 | vinfo
else
- lvm lvchange -ay $sysinit $LVS 2>&1 | vinfo
+ lvm lvchange -
-yes -
ay $sysinit $LVS 2>&1 | vinfo
fi
fi