give disk some time to write parition table

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/feature_files_export
Steven Armstrong 13 years ago
parent 5940c21fba
commit 32832777c6
  1. 2
      conf/type/__partition_msdos_apply/files/lib.sh

@ -12,6 +12,8 @@ fdisk_command() {
debug fdisk_command "running fdisk command '${cmd}' on device ${device}"
printf "${cmd}\nw\n" | fdisk -c -u "$device"
# give disk some time
sleep 1
return $?
}

Loading…
Cancel
Save