Update example vagrantfile

This commit is contained in:
Fabio Rehm 2013-05-08 16:40:44 -03:00
parent 7c1a18dc1a
commit 1382f6b14f

16
example/Vagrantfile vendored
View file

@ -32,11 +32,25 @@ echo "Hi there I'm a shell script used for provisioning"
releases.each do |release|
config.vm.define(release) do |lxc_config|
lxc_config.vm.box = "#{release}64"
lxc_config.vm.box_url = "http://dl.dropbox.com/u/13510779/lxc-#{release}-amd64-2013-04-21.box"
lxc_config.vm.box_url = "http://dl.dropbox.com/u/13510779/lxc-#{release}-amd64-2013-05-08.box"
lxc_config.vm.network :forwarded_port, guest: 80, host: (port += 1)
# Uncomment if you want to try out a box built locally
# lxc_config.vm.box_url = "../boxes/output/lxc-#{release}64.box"
lxc_config.vm.hostname = "lxc-#{release}64-example"
end
end
port = 8090
releases = %w(wheezy squeeze sid)
releases.each do |release|
config.vm.define(release) do |lxc_config|
lxc_config.vm.box = "#{release}64"
lxc_config.vm.box_url = "http://dl.dropbox.com/u/13510779/lxc-#{release}-amd64-2013-05-08.box"
lxc_config.vm.network :forwarded_port, guest: 80, host: (port += 1)
# Uncomment if you want to try out a box built locally
# lxc_config.vm.box_url = "../boxes/output/lxc-#{release}64.box"
# Does not work yet:
# lxc_config.vm.hostname = "lxc-#{release}64-example"
end
end
end