diff options
author | Harald Hoyer <harald@redhat.com> | 2013-07-31 17:17:37 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-07-31 17:17:37 +0200 |
commit | 051de5aadcd8cf1638fb86b89916f7184b30991a (patch) | |
tree | b874e293b2b511ffdf3be7bdfda9fbe1678df438 | |
parent | d2765b5175663d094737d6819cc3f3df53e7a4cb (diff) | |
download | dracut-051de5aadcd8cf1638fb86b89916f7184b30991a.tar.gz dracut-051de5aadcd8cf1638fb86b89916f7184b30991a.tar.bz2 dracut-051de5aadcd8cf1638fb86b89916f7184b30991a.zip |
lvm: add "--yes" to lvm lvchange
-rwxr-xr-x | modules.d/90lvm/lvm_scan.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules.d/90lvm/lvm_scan.sh b/modules.d/90lvm/lvm_scan.sh index cc006c83..85ecd4df 100755 --- 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 |