Removed comment

Vagrant only requires an ip **if** `type` is set **and** is not `dhcp`. The
only other type, currently, is `nfs`. Obviously nfs requires an IP so under
that circumstance or if `type` is set to anything but dhcp, vagrant will
error if an ip is not assigned.

If `type` is `nil`, it is deleted from the hash.
This commit is contained in:
Joe Julian 2015-07-17 17:17:37 -07:00
parent 546c98c0a2
commit 9b7c9def3c

View File

@ -63,9 +63,6 @@ module VagrantPlugins
if @options[:ip]
handle_ip_option(env)
# in vagrant 1.2.3 and later it is not possible to take this branch
# because cannot have name without ip
# https://github.com/mitchellh/vagrant/commit/cf2f6da4dbcb4f57c9cdb3b94dcd0bba62c5f5fd
elsif @options[:network_name]
handle_network_name_option(env)
end