mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Merge pull request #1361 from abbbi/1341_poc
#1341 fix condition check on @qemu_use_agent
This commit is contained in:
commit
5a51c6c617
@ -162,7 +162,7 @@ module VagrantPlugins
|
||||
if @interface_network[:created]
|
||||
# Just check for mismatch error here - if name and ip from
|
||||
# config match together.
|
||||
if @options[:network_name] != @interface_network[:name] and @qemu_use_agent = false
|
||||
if @options[:network_name] != @interface_network[:name] and @qemu_use_agent == false
|
||||
raise Errors::NetworkNameAndAddressMismatch,
|
||||
ip_address: @options[:ip],
|
||||
network_name: @options[:network_name]
|
||||
|
Loading…
Reference in New Issue
Block a user