From aefffdc38e5df3a74e3799e397fd48b17a88d1f2 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 14 Apr 2008 11:50:31 -0700 Subject: Fix 3034: Loopback interface controlled by "ethernet lo" --- templates/interfaces/ethernet/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def index eee64cd..baf824b 100644 --- a/templates/interfaces/ethernet/node.def +++ b/templates/interfaces/ethernet/node.def @@ -2,7 +2,7 @@ tag: type: txt help: Ethernet interface name syntax:expression: exec " \ - if [ -z \"`ip link | egrep -v 'eth[0-9]+[.]' | grep $VAR(@)`\" ]; then \ + if [ -z \"`ip link | grep eth | egrep -v 'eth[0-9]+[.]' | grep $VAR(@)`\" ]; then \ echo Invalid ethernet interface [$VAR(@)]; \ exit 1 ; \ fi ; " -- cgit v1.2.3