Rename development Vagrantfile to Vagrantfile.dev.lxc

This commit is contained in:
Fabio Rehm 2013-03-09 01:43:57 -03:00
parent e406be521a
commit a5d18567cb
2 changed files with 6 additions and 6 deletions

1
.gitignore vendored
View file

@ -27,3 +27,4 @@ Vagrantfile
/boxes/**/*.tar.gz /boxes/**/*.tar.gz
/boxes/quantal64/rootfs-amd64/ /boxes/quantal64/rootfs-amd64/
/boxes/output/ /boxes/output/
/development/Vagrantfile

View file

@ -14,9 +14,9 @@ end
Vagrant.require_plugin 'vagrant-lxc' Vagrant.require_plugin 'vagrant-lxc'
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.box = "lxc-quantal64" config.vm.box = "lxc-quantal64-2013-03-08"
config.vm.box_url = 'http://dl.dropbox.com/u/13510779/lxc-quantal64-2013-03-08.box' config.vm.box_url = 'http://dl.dropbox.com/u/13510779/lxc-quantal64-2013-03-08.box'
config.vm.hostname = 'lxc-quantal64' config.vm.hostname = "lxc-quantal64"
config.vm.synced_folder "../", "/vagrant", name: 'vagrant-root' config.vm.synced_folder "../", "/vagrant", name: 'vagrant-root'
@ -25,10 +25,9 @@ Vagrant.configure("2") do |config|
"/var/cache/apt/archives/", "/var/cache/apt/archives/",
name: "vagrant-cache" name: "vagrant-cache"
config.vm.provider :lxc do |lxc| config.vm.provision :shell, inline: '
# Not sure we need this sudo apt-get update &&
lxc.start_opts << 'lxc.aa_profile=unconfined' sudo apt-get install puppet -y'
end
config.vm.provision :puppet do |puppet| config.vm.provision :puppet do |puppet|
puppet.manifests_path = "." puppet.manifests_path = "."