mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
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:
parent
546c98c0a2
commit
9b7c9def3c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user