Skip to content

Instantly share code, notes, and snippets.

@fgrehm fgrehm/Vagrantfile
Last active Dec 16, 2015

What would you like to do?
VBox + LXC
Vagrant.configure("2") do |config| = "quantal64" :private_network, ip: ""
config.vm.define :vbox do |vbox_config| :forwarded_port, guest: 3000, host: 3001
vbox_config.vm.provision :shell, inline:
# vagrant-lxc required dependencies and vagrant itself
'sudo apt-get install -y redir lxc &&
wget -q "`uname -m`.deb" -O /tmp/vagrant.deb &&
sudo dpkg -i /tmp/vagrant.deb'
config.vm.define :lxc do |lxc_config| :forwarded_port, guest: 80, host: 3000
lxc_config.vm.provision :shell, inline:
'echo "Replace this with your puppet manifests"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.