Skip to content

Commit

Permalink
Merge pull request #3951 from afbjorklund/toolbox-disk
Browse files Browse the repository at this point in the history
Store the toolbox on the disk instead of rootfs
  • Loading branch information
tstromberg authored Mar 25, 2019
2 parents 71eba3c + 71b3e3e commit ae07de6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/iso/minikube-iso/package/automount/minikube-automount
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ if [ -n "$BOOT2DOCKER_DATA" ]; then
mkdir /var/lib/minikube
mount --bind /mnt/$PARTNAME/var/lib/minikube /var/lib/minikube

mkdir -p /mnt/$PARTNAME/var/lib/toolbox
mkdir /var/lib/toolbox
mount --bind /mnt/$PARTNAME/var/lib/toolbox /var/lib/toolbox

mkdir -p /mnt/$PARTNAME/var/lib/minishift
mkdir /var/lib/minishift
mount --bind /mnt/$PARTNAME/var/lib/minishift /var/lib/minishift
Expand Down
1 change: 1 addition & 0 deletions test/integration/iso_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func testPersistence(t *testing.T) {
"/var/lib/cni",
"/var/lib/kubelet",
"/var/lib/minikube",
"/var/lib/toolbox",
"/var/lib/rkt",
"/var/lib/boot2docker",
} {
Expand Down

0 comments on commit ae07de6

Please sign in to comment.