mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Add route option to networking config (#1086)
Make it possible for guest specific templates to render routes. Pass through the route information.
This commit is contained in:
parent
cf3b81bfc5
commit
0c7db1a766
@ -213,7 +213,8 @@ module VagrantPlugins
|
|||||||
type: :static,
|
type: :static,
|
||||||
ip: options[:ip],
|
ip: options[:ip],
|
||||||
netmask: options[:netmask],
|
netmask: options[:netmask],
|
||||||
gateway: options[:gateway]
|
gateway: options[:gateway],
|
||||||
|
route: options[:route]
|
||||||
}.merge(network)
|
}.merge(network)
|
||||||
else
|
else
|
||||||
network[:type] = :dhcp
|
network[:type] = :dhcp
|
||||||
|
Loading…
Reference in New Issue
Block a user