From eebb654d64fc8dafeecbda93414436a51881f776 Mon Sep 17 00:00:00 2001 From: runborg Date: Fri, 5 Jul 2019 22:23:59 +0200 Subject: T1499: Allow for usage of systemd interface mappings (#103) * T1499: Allow for usage of systemd interface mappings * T1499: Fix not working regex in ethernet interface parsing --- templates/interfaces/ethernet/node.def | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates/interfaces/ethernet/node.def') diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def index b4e60340..2d66a11b 100644 --- a/templates/interfaces/ethernet/node.def +++ b/templates/interfaces/ethernet/node.def @@ -4,7 +4,8 @@ type: txt help: Ethernet interface name allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=ethernet val_help: ; Ethernet interface name -syntax:expression: pattern $VAR(@) "^(eth|lan)[0-9]+$" \ +