Merge pull request #8 from jhartshorn/master
Added a delay before mkfs command to fix error "The file /dev/sda1 do…
This commit is contained in:
commit
0d091e18f3
1 changed files with 1 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ info "fs create" "Creating ${target_partition}"
|
|||
parted --script --align optimal "${target_drive}" mkpart primary ext4 0% 100%
|
||||
|
||||
info "fs create" "Creating ext4 filesystem on ${target_partition}"
|
||||
sleep 5
|
||||
mkfs -t ext4 -L rootfs "${target_partition}"
|
||||
|
||||
info "fs id" "Getting UUID for target partition"
|
||||
|
|
|
|||
Loading…
Reference in a new issue