summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--cfg-version/zone-policy@10
-rw-r--r--templates-cfg/zone-policy/zone/node.def4
3 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index f9a0f4c..d2a0a11 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,9 @@ opdir = $(datadir)/vyatta-op/templates
share_perl5dir = $(datarootdir)/perl5/Vyatta
bin_sudo_usersdir = $(bindir)/sudo-users
+curverdir = $(sysconfdir)/config-migrate/current
+curver_DATA = cfg-version/zone-policy@1
+
sbin_SCRIPTS = scripts/vyatta-zone.pl
sbin_SCRIPTS += scripts/vyatta-zone-ips.pl
diff --git a/cfg-version/zone-policy@1 b/cfg-version/zone-policy@1
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/cfg-version/zone-policy@1
diff --git a/templates-cfg/zone-policy/zone/node.def b/templates-cfg/zone-policy/zone/node.def
index 56c09c2..4845c2f 100644
--- a/templates-cfg/zone-policy/zone/node.def
+++ b/templates-cfg/zone-policy/zone/node.def
@@ -2,8 +2,8 @@ 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(@) "^[[:print:]]{1,18}$" ;
+ "Zone name must be 18 characters or less"
syntax:expression: pattern $VAR(@) "^[^-]" ; "Zone name cannot start with \"-\""