diff options
Diffstat (limited to 'templates/zone-policy/zone/node.def')
-rw-r--r-- | templates/zone-policy/zone/node.def | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/templates/zone-policy/zone/node.def b/templates/zone-policy/zone/node.def deleted file mode 100644 index eb8c3c87..00000000 --- a/templates/zone-policy/zone/node.def +++ /dev/null @@ -1,24 +0,0 @@ -tag: -type: txt -help: Zone name - -syntax:expression: pattern $VAR(@) "^[[:print:]]{1,20}$" ; - "Zone name must be 20 characters or less" - -syntax:expression: pattern $VAR(@) "^[^-]" ; "Zone name cannot start with \"-\"" - -syntax:expression: pattern $VAR(@) "^[^;]*$" ; "Zone name cannot contain ';'" - -create: - if ! /opt/vyatta/sbin/vyatta-zone.pl \ - --action=add-zone \ - --zone-name="$VAR(@)"; then - exit 1 - fi - -delete: - if ! /opt/vyatta/sbin/vyatta-zone.pl \ - --action=delete-zone \ - --zone-name="$VAR(@)"; then - exit 1 - fi |