Suppress confirmation for wiping signatures
This commit is contained in:
parent
ef4326a32e
commit
9f6de8393d
1 changed files with 2 additions and 2 deletions
|
|
@ -5,11 +5,11 @@ vg='vglab'
|
|||
if ! lvs -o layout --noheadings $vg/docker-thinpool | grep -q 'thin,pool'; then
|
||||
|
||||
if ! lvs -o LV_NAME --noheadings | grep -q docker-thinpool; then
|
||||
lvcreate --wipesignatures y -n docker-thinpool "$vg" -l 10%VG
|
||||
lvcreate --wipesignatures y --yes -n docker-thinpool "$vg" -l 10%VG
|
||||
fi
|
||||
|
||||
if ! lvs -o LV_NAME --noheadings | grep -q docker-thinpoolmeta; then
|
||||
lvcreate --wipesignatures y -n docker-thinpoolmeta "$vg" -l 1%VG
|
||||
lvcreate --wipesignatures y --yes -n docker-thinpoolmeta "$vg" -l 1%VG
|
||||
fi
|
||||
|
||||
lvconvert -y \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue