summaryrefslogtreecommitdiff
path: root/templates/zone-policy
diff options
context:
space:
mode:
Diffstat (limited to 'templates/zone-policy')
-rw-r--r--templates/zone-policy/zone/node.tag/local-zone/node.def8
1 files changed, 8 insertions, 0 deletions
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(../@)"