You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ubuntu 12.04, Vagrant 1.0.1. The prebuilt branch worked fine out of the box, but I had to do some minor surgery on the master branch to get it to work (mostly just comparing the two and trying to minimise non-essential differences).
Diff of the necessary changes:
diff --git a/Vagrantfile b/Vagrantfile
index 562e633..38a2e4e 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,7 +1,7 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
-Vagrant.configure("2") do |config|
+Vagrant::Config.run do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
@@ -9,9 +9,7 @@ Vagrant.configure("2") do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "precise32"
- config.vm.provider "virtualbox" do |v|
- v.customize ["modifyvm", :id, "--cpus", 4, "--memory", 3700, "--ioapic", "on"]
- end
+ config.vm.customize ["modifyvm", :id, "--cpus", 4, "--memory", 3700, "--ioapic", "on"]
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
@@ -51,7 +49,7 @@ Vagrant.configure("2") do |config|
puppet.options = "--verbose"
end
- config.vm.network :forwarded_port, guest: 3000, host: 3030
+ config.vm.forward_port 3000, 3030
end
The text was updated successfully, but these errors were encountered:
I think those changes were necessary to make Vagrant2 work properly (c484be5), although I am not sure. Maybe we need some compatibility layer for Vagrantfile?
There's a note in the docs warning about the required vagrant version now. I'd still like it to work on 1.0, but probably not going to spend time on this, since it's getting easier to build GHCJS on a regular system now.
Ubuntu 12.04, Vagrant 1.0.1. The prebuilt branch worked fine out of the box, but I had to do some minor surgery on the master branch to get it to work (mostly just comparing the two and trying to minimise non-essential differences).
Diff of the necessary changes:
The text was updated successfully, but these errors were encountered: