[DRE-commits] [vagrant-libvirt] 83/104: Autostart and activate networks that are not already autostarted or activated

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:55:49 UTC 2016


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

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

commit 4c48097b45ef4dacee36d7263f47d3f9b9916456
Author: Brian Pitts <brian at polibyte.com>
Date:   Thu Sep 26 21:46:01 2013 -0500

    Autostart and activate networks that are not already autostarted or activated
---
 lib/vagrant-libvirt/action/create_networks.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/vagrant-libvirt/action/create_networks.rb b/lib/vagrant-libvirt/action/create_networks.rb
index 626b25d..5ebaa17 100644
--- a/lib/vagrant-libvirt/action/create_networks.rb
+++ b/lib/vagrant-libvirt/action/create_networks.rb
@@ -76,8 +76,8 @@ module VagrantPlugins
               end
             end
 
-            autostart_network if @interface_network[:autostart].nil?
-            activate_network if @interface_network[:active].nil?
+            autostart_network if !@interface_network[:autostart]
+            activate_network if !@interface_network[:active]
           end
 
           @app.call(env)

-- 
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