[DRE-commits] [vagrant-libvirt] 95/163: support use_dhcp_assigned_default_route

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:57:10 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 db7b05693132ed755cdaef7c41902662684817ca
Author: Thomas Krille <tkrille at gmail.com>
Date:   Thu Dec 11 22:57:51 2014 +0100

    support use_dhcp_assigned_default_route
    
    Closes #230
---
 lib/vagrant-libvirt/action/create_network_interfaces.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/vagrant-libvirt/action/create_network_interfaces.rb b/lib/vagrant-libvirt/action/create_network_interfaces.rb
index bd12f81..8c05cc1 100644
--- a/lib/vagrant-libvirt/action/create_network_interfaces.rb
+++ b/lib/vagrant-libvirt/action/create_network_interfaces.rb
@@ -114,7 +114,8 @@ module VagrantPlugins
             @logger.debug "Configuring interface slot_number #{slot_number} options #{options}"
 
             network = {
-              :interface => slot_number,
+              :interface                       => slot_number,
+              :use_dhcp_assigned_default_route => options[:use_dhcp_assigned_default_route],
               #:mac => ...,
             }
 

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