1
0
mirror of https://github.com/rancher/os.git synced 2025-08-21 16:22:53 +00:00

Wait for device partitions in type-0 Packet instance installs

This commit is contained in:
Josh Curl 2017-01-06 10:34:29 -08:00 committed by Sven Dowideit
parent 8443aa43da
commit 19e8c841f8

View File

@ -92,6 +92,8 @@ partprobe || true
echo -e "a\n1\nw" | fdisk ${DEV_PREFIX}a || true
partprobe || true
wait_for_dev ${DEV_PREFIX}a1 ${DEV_PREFIX}a5 ${DEV_PREFIX}a6 ${DEV_PREFIX}a7
if [ "$RAID" = "true" ]; then
sfdisk --dump ${DEV_PREFIX}a | sfdisk --no-reread ${DEV_PREFIX}b