Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
Wait for device partitions in type-0 Packet instance installs
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwget committed Jan 6, 2017
1 parent 81b35c6 commit 6e6f83e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/hosting/packet/packet.sh
Expand Up @@ -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

Expand Down

0 comments on commit 6e6f83e

Please sign in to comment.