Add netmask to the private_network

This commit is contained in:
Michael RICOIS 2016-01-28 10:42:18 +01:00
parent 41299bc617
commit 1d41d16bfa

View File

@ -24,7 +24,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# 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"
config.vm.network "private_network", ip: "192.168.33.10", netmask: "255.255.255.0"
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on