Cross-communication is always nice.
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define "web", primary: true do |web|
web.vm.box = "quantal64"
web.vm.provider :lxc do |lxc|
lxc.customize 'network.ipv4', '10.0.3.100/32'
end
end
config.vm.define "db" do |db|
db.vm.box = "quantal64"
db.vm.provider :lxc do |lxc|
lxc.customize 'network.ipv4', '10.0.3.101/32'
end
end
end
FYI, versioning info:
vagrant -v
Vagrant 1.3.3
vagrant plugin list
vagrant-lxc (0.6.0)