Bug 756076 - Vagrant should make the VM use a valid private IP (10.33.33.33)
authorEd Morley <emorley@mozilla.com>
Thu, 24 Apr 2014 15:56:18 +0100
changeset 1408 79597a29ab41af5fdd6f955ff31214d09322aa01
parent 1407 755b2c4079003ed2b2f9e14aa09a5cbb4571a8c9
child 1409 89669a90d278bd62f7c0b3ec39b1ea3ee280b49c
push id794
push useremorley@mozilla.com
push dateThu, 24 Apr 2014 14:56:39 +0000
bugs756076
Bug 756076 - Vagrant should make the VM use a valid private IP (10.33.33.33)
README.vagrant
Vagrantfile
--- a/README.vagrant
+++ b/README.vagrant
@@ -8,17 +8,17 @@ run a local TBPL server instance. You wi
 
 1) Install the latest Virtualbox from http://www.virtualbox.org/
 
 2) Install the latest Vagrant from http://vagrantup.com/
 
 3) hg clone https://hg.mozilla.org/webtools/tbpl/ tbpl
 
 4) Add the following to /etc/hosts (C:\Windows\System32\drivers\etc\hosts on Windows):
-33.33.33.10	tbpl
+10.33.33.33	tbpl
 
 5) From the toplevel TBPL directory, run:
    $ vagrant up
 
 6) That's it! Open http://tbpl/ and enjoy your Mozilla TBPL environment!
 
 Optional: For improved I/O performance, install an NFS server. See:
 http://docs.vagrantup.com/v2/synced-folders/nfs.html
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -2,17 +2,17 @@
 # vi: set ft=ruby :
 
 # Vagrantfile API/syntax version.
 VAGRANTFILE_API_VERSION = "2"
 
 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
   config.vm.box = "lucid32"
   config.vm.box_url = "http://files.vagrantup.com/lucid32.box"
-  config.vm.network "private_network", ip: "33.33.33.10"
+  config.vm.network "private_network", ip: "10.33.33.33"
 
   config.vm.provider "virtualbox" do |vb|
     # Don't boot with headless mode
     # Enable this to see the GUI if vagrant cannot connect
     #vb.gui = true
     vb.customize ["modifyvm", :id, "--memory", "512"]
   end