File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1
1
## Define variables
2
2
VAGRANTFILE_API_VERSION = 2
3
+ # Custom Local Vagrant Box Name
3
4
VM_BOX_NAME = "basic-base"
5
+ # Ubuntu Server 14.04 LTS (Trusty Tahr) 64-bit.
6
+ VM_BOX_URL = "http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
4
7
5
8
# Specify the minimum Vagrant version
6
9
Vagrant . require_version ">= 1.4.2"
@@ -21,6 +24,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
21
24
# Define the base box to use.
22
25
buildpack . vm . box = VM_BOX_NAME
23
26
27
+ # If this Vagrant box does not exist then download a clean box
28
+ buildpack . vm . box_url = VM_BOX_URL
29
+
24
30
# Share an additional folder to the guest VM.
25
31
#buildpack.vm.synced_folder "./data", "/vagrant_data"
26
32
You can’t perform that action at this time.
0 commit comments