Commit ce616cb
committed
Move 'sleep 1' before mkfs into attach_image()
I just encountered a similar issue as #45 when creating an image with
UEFI (which implies creating a partitioning table) – sfdisk failed due
to nbd device not being ready. I think the sleep needs to be right after
`attach_image`, i.e. sooner than `mkfs`. There’s already one `sleep 1`
after writing the partitioning table which is before mkfs.
Related to 9ebdf2f1 parent 4c8b744 commit ce616cb
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| |||
554 | 556 | | |
555 | 557 | | |
556 | 558 | | |
557 | | - | |
558 | | - | |
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| |||
0 commit comments