[DRE-commits] [vagrant-libvirt] 11/163: Honor the auto_config configuration option to allow vagrant to skip configuring network interfaces.

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:56:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.26
in repository vagrant-libvirt.

commit 43a6bd381a7e5bab85726c0b73cbda17b9737c4f
Author: Joe Julian <me at joejulian.name>
Date:   Wed Jul 16 13:51:50 2014 -0700

    Honor the auto_config configuration option to allow vagrant to skip configuring network interfaces.
---
 lib/vagrant-libvirt/action/create_network_interfaces.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/vagrant-libvirt/action/create_network_interfaces.rb b/lib/vagrant-libvirt/action/create_network_interfaces.rb
index bedafb1..e35c022 100644
--- a/lib/vagrant-libvirt/action/create_network_interfaces.rb
+++ b/lib/vagrant-libvirt/action/create_network_interfaces.rb
@@ -105,6 +105,7 @@ module VagrantPlugins
             # It's used for provisioning and it has to be available during provisioning,
             # ifdown command is not acceptable here.
             next if slot_number == 0
+            next if options[:auto_config] === false
             @logger.debug "Configuring interface slot_number #{slot_number} options #{options}"
 
             network = {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list