Last active
August 29, 2015 14:01
-
-
Save viq/db5255b6d87b862bf3f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vagrant reload amd64_55 | |
/home/wizdebski/Vagrant/vagrant-obsd-port-worker/Vagrantfile:35:in `block in <top (required)>': uninitialized constant RELEASE (NameError) | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/config/v2/loader.rb:37:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/config/v2/loader.rb:37:in `load' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/config/loader.rb:103:in `block (2 levels) in load' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/config/loader.rb:97:in `each' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/config/loader.rb:97:in `block in load' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/config/loader.rb:94:in `each' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/config/loader.rb:94:in `load' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/vagrantfile.rb:28:in `initialize' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/environment.rb:563:in `new' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/environment.rb:563:in `vagrantfile' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/environment.rb:353:in `host' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/environment.rb:168:in `block in action_runner' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/action/runner.rb:33:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/action/runner.rb:33:in `run' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/environment.rb:340:in `hook' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/environment.rb:545:in `unload' | |
from /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.0/bin/vagrant:169:in `ensure in <main>' | |
from /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.0/bin/vagrant:169:in `<main>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.define :i386 do |i386| | |
i386.vm.box = "obsd-current-i386" | |
i386.vm.network :private_network, ip: "192.168.50.4", type: "static" | |
end | |
config.vm.define :amd64 do |amd64| | |
RELEASE="current" | |
amd64.vm.box = "obsd-current-amd64" | |
amd64.vm.network :private_network, ip: "192.168.50.5", type: "static" | |
end | |
config.vm.define :amd64_55 do |amd64_55| | |
RELEASE="current" | |
amd64_55.vm.box = "obsd-55-amd64" | |
amd64_55.vm.network :private_network, ip: "192.168.50.6", type: "static" | |
end | |
config.vm.provider :virtualbox do |v| | |
RELEASE="55" | |
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] | |
v.customize ["modifyvm", :id, "--memory", 512] | |
end | |
## For masterless, mount your file roots file root | |
#config.vm.synced_folder "salt/roots/", "/srv/" | |
#config.vm.synced_folder "./openbsd-wip", "/usr/ports/openbsd-wip", nfs: true | |
# THIS WORKS: | |
config.vm.synced_folder "./vagrant", "/vagrant", id: "root", :nfs => true | |
config.vm.synced_folder "~/Work/OpenBSD/distfiles", "/usr/ports/distfiles", :nfs => true | |
config.vm.synced_folder "~/Work/OpenBSD/packages/#{RELEASE}", "/usr/ports/packages", :nfs => true | |
config.vm.synced_folder "~/Work/OpenBSD/openbsd-wip", "/usr/ports/openbsd-wip", :nfs => true | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment