Browse Source

Merge pull request #264 from lvillani/vagrantfile

Merge pull request #264
Alex Payne 10 years ago
parent
commit
2b4c9e3f42
1 changed files with 12 additions and 8 deletions
  1. 12
    8
      Vagrantfile

+ 12
- 8
Vagrantfile View File

@@ -1,18 +1,22 @@
1
+# -*- mode: ruby -*-
1 2
 # If you're having issues, upgrade to Vagrant 1.3.x. It generates an inventory automatically:
2 3
 # https://github.com/mitchellh/vagrant/blob/master/CHANGELOG.md#130-september-5-2013
3 4
 
4 5
 Vagrant.configure('2') do |config|
6
+  # Debian 7 is the officially supported Linux distribution
7
+  config.vm.box = 'box-cutter/debian75'
5 8
 
6
-  config.vm.provider :virtualbox do |vbox, override|
7
-    override.vm.box = 'wheezy64'
8
-    override.vm.box_url = 'https://sovereign.lukecyca.com/vagrant/wheezy64.box'
9
-    vbox.customize ["modifyvm", :id, "--memory", 512]
9
+  # Comment the entry above and uncomment one of these two entries
10
+  # below if you want to develop/test against Ubuntu 12.04/14.04.
11
+  # config.vm.box = 'box-cutter/ubuntu1204'
12
+  # config.vm.box = 'box-cutter/ubuntu1404'
13
+
14
+  config.vm.provider :virtualbox do |v|
15
+    v.memory = 512
10 16
   end
11 17
 
12
-  config.vm.provider :vmware_fusion do |vbox, override|
13
-    # source: https://vagrantcloud.com/box-cutter/debian75
14
-    override.vm.box = 'box-cutter/debian75'
15
-    vbox.customize ["modifyvm", :id, "--memory", 512]
18
+  config.vm.provider :vmware_fusion do |v|
19
+    v.vmx["memsize"] = "512"
16 20
   end
17 21
 
18 22
   config.vm.hostname = 'sovereign.local'

Loading…
Cancel
Save