Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #21 from lmars/persistent-data
Browse files Browse the repository at this point in the history
Format the hard drive so that boot2docker auto-mounts it
  • Loading branch information
mitchellh committed Feb 13, 2014
2 parents 7617b7e + 26658ee commit a3a83a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions template.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit a3a83a9

Please sign in to comment.