add sleep 2 to have everything initialized

This commit is contained in:
Tobias Powalowski 2022-04-09 18:51:36 +02:00
parent 9f22985833
commit 6349fde314

View file

@ -742,6 +742,7 @@ _createpv()
PVFINISH="" PVFINISH=""
while [[ "${PVFINISH}" != "DONE" ]]; do while [[ "${PVFINISH}" != "DONE" ]]; do
activate_special_devices activate_special_devices
sleep 2
: >/tmp/.pvs-create : >/tmp/.pvs-create
# Remove all lvm devices with children # Remove all lvm devices with children
LVM_BLACKLIST="$(for i in $(${_LSBLK} NAME,TYPE | grep " lvm$" | cut -d' ' -f1 | sort -u); do LVM_BLACKLIST="$(for i in $(${_LSBLK} NAME,TYPE | grep " lvm$" | cut -d' ' -f1 | sort -u); do