From 26658ee0e57b59b2d818a219a62bb8e1495e8271 Mon Sep 17 00:00:00 2001 From: Lewis Marshall Date: Thu, 13 Feb 2014 13:16:58 +0000 Subject: [PATCH] Format the hard drive so that boot2docker auto-mounts it See https://github.com/steeve/boot2docker#persist-data --- template.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/template.json b/template.json index 3148639..fa29b25 100644 --- a/template.json +++ b/template.json @@ -20,6 +20,11 @@ "shutdown_command": "sudo poweroff" }], + "provisioners": [{ + "type": "shell", + "inline": ["mkfs.ext4 -F -L boot2docker-data /dev/sda"] + }], + "post-processors": [{ "type": "vagrant", "include": ["boot2docker-vagrant.iso"],