1
0
mirror of https://github.com/rancher/os.git synced 2025-07-10 13:23:03 +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
parent 81b35c69e1
commit 6e6f83e417
No known key found for this signature in database
GPG Key ID: 82B504B9BCCFA677

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