wait for partprobe to settle
This commit is contained in:
parent
ef38b13e55
commit
61dbd6b931
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ label: dos
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
partprobe "${disk}"
|
partprobe "${disk}"
|
||||||
|
sleep 3
|
||||||
|
|
||||||
# For creation, if an existing filesystem is on the partitions
|
# For creation, if an existing filesystem is on the partitions
|
||||||
mkfs.ext4 -F ${partition}
|
mkfs.ext4 -F ${partition}
|
||||||
|
|
Loading…
Reference in a new issue