Skip to content

Commit

Permalink
Increase number of inodes
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlarsen authored May 3, 2017
1 parent 23660cb commit eb16a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/iso/minikube-iso/package/automount/minikube-automount
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if [ ! -n "$BOOT2DOCKER_DATA" ]; then
sleep 0.5
done
BOOT2DOCKER_DATA=`echo "${UNPARTITIONED_HD}1"`
mkfs.ext4 -i 8192 -L $LABEL $BOOT2DOCKER_DATA
mkfs.ext4 -i 2048 -L $LABEL $BOOT2DOCKER_DATA
fi

DISK_VENDOR=$(cat /sys/class/block/$(basename $UNPARTITIONED_HD /dev/)/device/vendor /sys/class/block/$(basename $UNPARTITIONED_HD /dev/)/device/model | tr -d "\n")
Expand All @@ -75,7 +75,7 @@ if [ ! -n "$BOOT2DOCKER_DATA" ]; then
# Add the data partition
(echo n; echo p; echo 1; echo ; echo ; echo w) | fdisk $UNPARTITIONED_HD
BOOT2DOCKER_DATA=`echo "${UNPARTITIONED_HD}1"`
mkfs.ext4 -i 8192 -L $LABEL $BOOT2DOCKER_DATA
mkfs.ext4 -i 2048 -L $LABEL $BOOT2DOCKER_DATA
else
echo "Disk unpartitioned but something is there... not doing anything"
fi
Expand Down

0 comments on commit eb16a5b

Please sign in to comment.