mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Request 'configure_networks' capability only if there actually are networks to configure
This commit is contained in:
parent
39f9a9d0b4
commit
8ba4865e0a
@ -219,10 +219,12 @@ module VagrantPlugins
|
|||||||
networks_to_configure << network
|
networks_to_configure << network
|
||||||
end
|
end
|
||||||
|
|
||||||
env[:ui].info I18n.t('vagrant.actions.vm.network.configuring')
|
unless networks_to_configure.empty?
|
||||||
env[:machine].guest.capability(
|
env[:ui].info I18n.t('vagrant.actions.vm.network.configuring')
|
||||||
:configure_networks, networks_to_configure
|
env[:machine].guest.capability(
|
||||||
)
|
:configure_networks, networks_to_configure
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user