Created
February 19, 2016 00:14
-
-
Save k-nish/c373f55396457f8b44d9 to your computer and use it in GitHub Desktop.
virtualboxのIPアドレスを変更する ref: http://qiita.com/K-N/items/a597b684562e5b1da6a5
This file contains hidden or 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
| # 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" |
This file contains hidden or 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
| $vagrant plugin install vagrant-hostsupdater |
This file contains hidden or 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
| ## | |
| # 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 |
This file contains hidden or 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
| # 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