From 15faf9d53d7a6af053ba6eea30fa718ffc513f92 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Fri, 10 Apr 2009 18:33:34 -0700 Subject: add local-zone in|out firewall and clean-up code --- templates/zone-policy/zone/node.tag/local-zone/node.def | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'templates/zone-policy') diff --git a/templates/zone-policy/zone/node.tag/local-zone/node.def b/templates/zone-policy/zone/node.tag/local-zone/node.def index b82ee438..77a49771 100644 --- a/templates/zone-policy/zone/node.tag/local-zone/node.def +++ b/templates/zone-policy/zone/node.tag/local-zone/node.def @@ -1 +1,9 @@ help: Set zone to be local-zone + +create: /opt/vyatta/sbin/vyatta-zone.pl \ + --action=add-localzone \ + --zone-name="$VAR(../@)" + +delete: /opt/vyatta/sbin/vyatta-zone.pl \ + --action=delete-localzone \ + --zone-name="$VAR(../@)" -- cgit v1.2.3