From 0c7db1a76602b9ab86fe7ca8f9d76e6a84b1daa2 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 29 Nov 2021 14:13:32 +0100 Subject: [PATCH] Add route option to networking config (#1086) Make it possible for guest specific templates to render routes. Pass through the route information. --- 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 98bb20e..416358c 100644 --- a/lib/vagrant-libvirt/action/create_network_interfaces.rb +++ b/lib/vagrant-libvirt/action/create_network_interfaces.rb @@ -213,7 +213,8 @@ module VagrantPlugins type: :static, ip: options[:ip], netmask: options[:netmask], - gateway: options[:gateway] + gateway: options[:gateway], + route: options[:route] }.merge(network) else network[:type] = :dhcp