mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
#1341 fix condition check on @qemu_use_agent
This commit is contained in:
@@ -162,7 +162,7 @@ module VagrantPlugins
|
|||||||
if @interface_network[:created]
|
if @interface_network[:created]
|
||||||
# Just check for mismatch error here - if name and ip from
|
# Just check for mismatch error here - if name and ip from
|
||||||
# config match together.
|
# 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,
|
raise Errors::NetworkNameAndAddressMismatch,
|
||||||
ip_address: @options[:ip],
|
ip_address: @options[:ip],
|
||||||
network_name: @options[:network_name]
|
network_name: @options[:network_name]
|
||||||
|
|||||||
Reference in New Issue
Block a user