Skip to content

Instantly share code, notes, and snippets.

@quasiben
Created November 11, 2015 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quasiben/2c004fc3802065f6a2a8 to your computer and use it in GitHub Desktop.
Save quasiben/2c004fc3802065f6a2a8 to your computer and use it in GitHub Desktop.
Vagrant file with one private network
cat Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "1vq9/trusty64"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.define :dev do |box|
box.vm.hostname = "dev"
box.vm.network "private_network", ip: "192.168.222.100"
box.vm.provider "vmware_fusion" do |v|
v.vmx["vhv.enable"] = "TRUE"
v.vmx["allowNested"] = "TRUE"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment