manually trigger udev
This commit is contained in:
parent
ef67fb1cc8
commit
4c3e310f57
|
@ -114,6 +114,7 @@ DISK_LINK="/dev/disk/by-id/virtio-doexport"
|
|||
echo "Waiting for disk..."
|
||||
for attempt in 1 2 3; do
|
||||
sleep 3
|
||||
/sbin/udevadm trigger
|
||||
if [ -L "${DISK_LINK}" ]; then
|
||||
break
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue