From 9bc0d933590205631133dfe25a53c381bb4d6c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20Kali=C5=A1nik?= Date: Sun, 16 May 2021 11:50:40 +0200 Subject: [PATCH] Add from to routes --- templates/ethernets.epp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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] %> <%- } -%>