summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-11-17 18:20:25 -0800
committerMohit Mehta <mohit.mehta@vyatta.com>2008-11-17 18:20:25 -0800
commit56b2910a4d7eb160ffb4159078851c954d1c0bb0 (patch)
treefe45206ba781f031d4bdba6018eb3420446c4bd7 /templates
parente481b67fd209f6def3883407d5906e96782b9860 (diff)
downloadvyatta-op-56b2910a4d7eb160ffb4159078851c954d1c0bb0.tar.gz
vyatta-op-56b2910a4d7eb160ffb4159078851c954d1c0bb0.zip
add bond interfaces to list of allowed interfaces for dhcp release/renew
Diffstat (limited to 'templates')
-rw-r--r--templates/release/dhcp/interface/node.tag/node.def2
-rw-r--r--templates/renew/dhcp/interface/node.tag/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/release/dhcp/interface/node.tag/node.def b/templates/release/dhcp/interface/node.tag/node.def
index 85773b6..834e682 100644
--- a/templates/release/dhcp/interface/node.tag/node.def
+++ b/templates/release/dhcp/interface/node.tag/node.def
@@ -1,7 +1,7 @@
help: Release DHCP IP address lease for specified interface
allowed:
local -a array ;
- array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* ) ;
+ array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* /var/lib/dhcp3/bond* ) ;
echo -n ${array[@]##*/}
run:
diff --git a/templates/renew/dhcp/interface/node.tag/node.def b/templates/renew/dhcp/interface/node.tag/node.def
index 9e6c037..84e4cc0 100644
--- a/templates/renew/dhcp/interface/node.tag/node.def
+++ b/templates/renew/dhcp/interface/node.tag/node.def
@@ -1,7 +1,7 @@
help: Renew DHCP IP address lease for specified interface
allowed:
local -a array ;
- array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* ) ;
+ array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* /var/lib/dhcp3/bond* ) ;
echo -n ${array[@]##*/}
run: