Skip to content

Commit b85b91a

Browse files
committed
Fix 42 layers issue of AUFS
1 parent eed5fca commit b85b91a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"provisioners": [{
3535
"type": "shell",
3636
"inline": [
37-
"mkfs.ext4 -F -L boot2docker-data /dev/sda",
37+
"(echo n; echo p; echo 1; echo; echo; echo w; echo p; echo q;) | sudo fdisk /dev/sda",
38+
"mkfs.ext4 -F -L boot2docker-data /dev/sda1",
3839
"sudo /usr/local/etc/init.d/docker stop",
3940
"sudo /etc/rc.d/automount",
4041

0 commit comments

Comments
 (0)