diff --git a/templates/ethernets.epp b/templates/ethernets.epp index 73a370b..0546100 100644 --- a/templates/ethernets.epp +++ b/templates/ethernets.epp @@ -227,9 +227,12 @@ routes: <%- $routes.each |$route| { -%> - to: <%= $route[to] %> - <%- if $route[via] { -%> + <%- if $route[via] { -%> via: <%= $route[via] %> <%- } -%> + <%- if $route[from] { -%> + from: <%= $route[from] %> + <%- } -%> <%- if $route[table] { -%> table: <%= $route[table] %> <%- } -%>