Sha256: 13c901684062f19b4dbcaa715e6922fd9d9f64485f1bea3efc41b9328f295cdf
Contents?: true
Size: 801 Bytes
Versions: 7
Compression:
Stored size: 801 Bytes
Contents
# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.require_plugin 'vagrant-lxc' Vagrant.require_plugin 'vagrant-cachier' ENV['BOX_NAME'] ||= 'quantal64' puts "Running vagrant commands using #{ENV['BOX_NAME']} box" Vagrant.configure("2") do |config| config.vm.box = ENV['BOX_NAME'] config.vm.hostname = 'lxc-test-box' config.vm.box_url = ENV['BOX_URL'] config.vm.network :forwarded_port, guest: 80, host: 8080 config.cache.auto_detect = true config.vm.provision :shell, inline: 'mkdir -p /vagrant/tmp && echo -n "Provisioned" > /vagrant/tmp/provisioning' config.vm.provision :shell, inline: 'apt-get install apache2 -y' config.vm.provision :shell, privileged: false, inline: "if ! [ -f $HOME/original-box ]; then echo '#{ENV['BOX_NAME']}' > $HOME/original-box; fi" end
Version data entries
7 entries across 7 versions & 2 rubygems