Skip to content

Instantly share code, notes, and snippets.

@brotbert
Last active December 20, 2015 05:49
Show Gist options
  • Save brotbert/6081756 to your computer and use it in GitHub Desktop.
Save brotbert/6081756 to your computer and use it in GitHub Desktop.
diff --git 1/vagrant-1.2.7/plugins/kernel_v2/config/vm.rb.orig 2/vagrant-1.2.7/plugins/kernel_v2/config/vm.rb
index 03e8fbb..32baecc 100644
--- 1/vagrant-1.2.7/plugins/kernel_v2/config/vm.rb.orig
+++ 2/vagrant-1.2.7/plugins/kernel_v2/config/vm.rb
@@ -409,11 +409,11 @@ module VagrantPlugins
end
if type == :private_network
- if options[:type] != :dhcp
- if !options[:ip]
- errors << I18n.t("vagrant.config.vm.network_ip_required")
- end
- end
+ #if options[:type] != :dhcp
+ # if !options[:ip]
+ # errors << I18n.t("vagrant.config.vm.network_ip_required")
+ # end
+ #end
if options[:ip] && options[:ip].end_with?(".1")
errors << I18n.t("vagrant.config.vm.network_ip_ends_in_one")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment