We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9df95a2 commit 0cc1f5fCopy full SHA for 0cc1f5f
plugins/kernel_v2/config/vm.rb
@@ -922,8 +922,8 @@ def validate(machine, ignore_provider=nil)
922
errors << I18n.t("vagrant.config.vm.network_ip_required")
923
end
924
925
-
926
- if options[:ip] && options[:ip].end_with?(".1") || options[:ip].end_with?(":1") && (options[:type] || "").to_sym != :dhcp
+
+ if options[:ip] && (options[:ip].end_with?(".1") || options[:ip].end_with?(":1")) && (options[:type] || "").to_sym != :dhcp
927
machine.ui.warn(I18n.t(
928
"vagrant.config.vm.network_ip_ends_in_one"))
929
0 commit comments