Skip to content

Instantly share code, notes, and snippets.

@k-nish
Created February 19, 2016 00:14
Show Gist options
  • Select an option

  • Save k-nish/c373f55396457f8b44d9 to your computer and use it in GitHub Desktop.

Select an option

Save k-nish/c373f55396457f8b44d9 to your computer and use it in GitHub Desktop.
virtualboxのIPアドレスを変更する ref: http://qiita.com/K-N/items/a597b684562e5b1da6a5
# Create a private network, which allows host-only access to the machine
# using a specific IP.
config.vm.hostname = "local.stevejobs"
config.vm.network "private_network", ip: "192.168.33.10"
$vagrant plugin install vagrant-hostsupdater
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
# Create a private network, which allows host-only access to the machine
# using a specific IP.
config.vm.network "private_network", ip:"192.168.33.10"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment