Merge pull request #6150 from pwnall/patch-2
Don't warn about an .1 IP for DHCP networks
This commit is contained in:
commit
8886a20d34
|
@ -697,7 +697,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if options[:ip] && options[:ip].end_with?(".1")
|
if options[:ip] && options[:ip].end_with?(".1") && options[:type].to_sym != :dhcp
|
||||||
machine.ui.warn(I18n.t(
|
machine.ui.warn(I18n.t(
|
||||||
"vagrant.config.vm.network_ip_ends_in_one"))
|
"vagrant.config.vm.network_ip_ends_in_one"))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue