Sha256: 545d9b9e65f631d6eb22d9b6204f3623c44932e1a4affd0eb12b64a74850733d
Contents?: true
Size: 702 Bytes
Versions: 4
Compression:
Stored size: 702 Bytes
Contents
# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.require_plugin 'vagrant-lxc' Vagrant.require_plugin 'vagrant-cachier' ENV['BOX_NAME'] ||= 'quantal64' puts "Running specs using #{ENV['BOX_NAME']} box" Vagrant.configure("2") do |config| config.vm.box = ENV['BOX_NAME'] config.vm.hostname = 'lxc-test-box' config.vm.network :forwarded_port, guest: 80, host: 8080 config.cache.auto_detect = true config.vm.provider :lxc do |lxc| lxc.sudo_wrapper = '/usr/bin/lxc-vagrant-wrapper' end config.vm.provision :shell, inline: 'mkdir -p /vagrant/tmp && echo -n "Provisioned" > /vagrant/tmp/provisioning' config.vm.provision :shell, inline: 'sudo apt-get install apache2 -y' end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
vagrant-lxc-0.6.4 | spec/Vagrantfile |
vagrant-lxc-0.6.3 | spec/Vagrantfile |
vagrant-lxc-0.6.2 | spec/Vagrantfile |
vagrant-lxc-0.6.1 | spec/Vagrantfile |