mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -697,7 +697,7 @@ module VagrantPlugins
|
|||
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(
|
||||
"vagrant.config.vm.network_ip_ends_in_one"))
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue