diff --git a/deploy/iso/minikube-iso/package/automount/minikube-automount b/deploy/iso/minikube-iso/package/automount/minikube-automount index 1c0baec3e5de..12884091809f 100755 --- a/deploy/iso/minikube-iso/package/automount/minikube-automount +++ b/deploy/iso/minikube-iso/package/automount/minikube-automount @@ -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 diff --git a/test/integration/iso_test.go b/test/integration/iso_test.go index 5bb66166b39d..c8e564c67f40 100644 --- a/test/integration/iso_test.go +++ b/test/integration/iso_test.go @@ -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", } {