disk-create.sh: remove perl dependency (used to slow down the fdisk script)

This commit is contained in:
Giacomo Tesio 2017-02-25 11:07:45 +01:00
parent f2443751aa
commit 8a92861412
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ fi
if [ ! -f $DISK ]; then
qemu-img create $DISK 4G
sed -e 's/^\s*\([\+0-9a-zA-Z]*\)[ ].*/\1/' << EOF | perl -MTime::HiRes=usleep -pe '$|=1;usleep(1000000)' | /sbin/fdisk $DISK
sed -e 's/^\s*\([\+0-9a-zA-Z]*\)[ ].*/\1/' << EOF | /sbin/fdisk $DISK
o #clear partition table
n #new partition
p #primary partition