Permalink
Browse files

Merge pull request #1498 from joshwget/wait-for-partitions

Wait for device partitions in type-0 Packet instance installs
  • Loading branch information...
2 parents f5c8cc1 + 6e6f83e commit 98803c2345a23fe328b3a5a1f847332f5aa72868 @ibuildthecloud ibuildthecloud committed on GitHub Jan 6, 2017
Showing with 2 additions and 0 deletions.
  1. +2 −0 scripts/hosting/packet/packet.sh
@@ -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

0 comments on commit 98803c2

Please sign in to comment.