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:
Thomas 2021-11-29 14:13:32 +01:00 committed by GitHub
parent cf3b81bfc5
commit 0c7db1a766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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