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.

Revisions

  1. k-nish created this gist Feb 19, 2016.
    3 changes: 3 additions & 0 deletions Vagrantfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    # 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"
    4 changes: 4 additions & 0 deletions file2.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    # 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"
    1 change: 1 addition & 0 deletions file3.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    $vagrant plugin install vagrant-hostsupdater
    9 changes: 9 additions & 0 deletions hosts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    ##
    # 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