Created
May 20, 2014 12:17
-
-
Save mhammonds/574b2e5ca6e0e53fdefb to your computer and use it in GitHub Desktop.
Manual Vagrant/VirtualBox Network Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example Vagrantfile customizations from older | |
# config before "private_network" was supported. | |
# Typically no need to do this manually anymore. | |
v.customize ["hostonlyif", "ipconfig", "vboxnet0", "--ip", "192.168.33.1", "--netmask", "255.255.255.0"] | |
v.customize ["modifyvm", :id, "--nic1", "nat"] | |
v.customize ["modifyvm", :id, "--nic2", "hostonly"] | |
v.customize ["modifyvm", :id, "--hostonlyadapter2", "vboxnet0"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment