Windows 10 + Vagrant + Virtualbox
I wanted to post this in case anyone had issues with Vaprobash and Windows 10.
Eldair's post helped me get it running. https://laracasts.com/discuss/channels/general-discussion/windows-10-vagrant-virtualbox-homestead
- Install Virtualbox 5 and Vagrant 1.7.4
- In Virtualbox preferences -> network -> host-only networks create Host-Only adapter and add the IP address you are using in the Vagrantfile: IPv4 192.168.22.10, Mask 255.255.0.0
- Vaprobash Vagrantfile: Comment line config.vm.network :private_network, ip: server_ip
- Comment line 64: b.use ClearNetworkInterfaces in action.rb (path ~\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.7.4\plugins\providers\virtualbox\action.rb)
- Run vagrant up
Be sure to select the correct host-only network in the Vaprobash box: settings -> network -> adapter 2 and select Host-only network
Thanks!
On Thu, Jul 30, 2015 at 3:17 PM rbruhn [email protected] wrote:
I wanted to post this in case anyone had issues with Vaprobash and Windows 10.
Eldair's post helped me get it running.
https://laracasts.com/discuss/channels/general-discussion/windows-10-vagrant-virtualbox-homestead
- Install Virtualbox 5 and Vagrant 1.7.4
- In Virtualbox preferences -> network -> host-only networks create Host-Only adapter and add the IP address you are using in the Vagrantfile: IPv4 192.168.22.10, Mask 255.255.0.0
- Vaprobash Vagrantfile: Comment line config.vm.network :private_network, ip: server_ip
- Comment line 64: b.use ClearNetworkInterfaces in action.rb (path ~\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.7.4\plugins\providers\virtualbox\action.rb)
- Run vagrant up
Be sure to select the correct host-only network in the Vaprobash box: settings -> network -> adapter 2 and select Host-only network
— Reply to this email directly or view it on GitHub https://github.com/fideloper/Vaprobash/issues/485.
Unfortunately, I've not been able to figure out how to access a URL without using the 8000 port. In other words, I need to do http://mysite.loc:8000 to get there.
Edit: For anyone looking, I was able to resolve the need for the port in the url.
The host-only adapter in VB needs to be created by hand, and the information added to interface config in the VM. In my case, my Vagrant file IP is 192.168.56.20. I configured the host-only adapter in VB as: IPv4: 192.168.56.1 Mask: 255.255.255.0
Editing the interface.... added the following $ sudo nano /etc/network/interfaces.d/eth0.cfg
# Host-only interface
auto eth1
iface eth1 inet static
address 192.168.56.20
netmask 255.255.255.0
network 192.168.56.0
broadcast 192.168.56.255
This will work until Vagrant and VBox gets fixed.