diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2010-12-03 16:38:54 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-12-03 16:38:54 -0800 |
commit | baa9c61160c8fdee7d0d4719501ff6a558577338 (patch) | |
tree | 7d89870a7d998abdb108cc9dba3b5004fb5dafb0 /templates-cfg/system/config-management/commit-revisions/node.def | |
parent | e89d82fab791f5695dcbaf5646d50aa81d9d9dbb (diff) | |
download | vyatta-config-mgmt-baa9c61160c8fdee7d0d4719501ff6a558577338.tar.gz vyatta-config-mgmt-baa9c61160c8fdee7d0d4719501ff6a558577338.zip |
Change 'config-mgmt' to 'config-management' to appease support.
Diffstat (limited to 'templates-cfg/system/config-management/commit-revisions/node.def')
-rw-r--r-- | templates-cfg/system/config-management/commit-revisions/node.def | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates-cfg/system/config-management/commit-revisions/node.def b/templates-cfg/system/config-management/commit-revisions/node.def new file mode 100644 index 0000000..854bb1e --- /dev/null +++ b/templates-cfg/system/config-management/commit-revisions/node.def @@ -0,0 +1,17 @@ +type: u32 +priority: 400 +help: Commit revisions + +update: sudo ${vyatta_sbindir}/vyatta-config-mgmt.pl \ + --action=update-revs \ + --revs="$VAR(@)" + +delete: sudo ${vyatta_sbindir}/vyatta-config-mgmt.pl \ + --action=update-revs \ + --revs="0" + + +val_help: u32:0-65535 ; Number of config backups to keep + +syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 65535 ; \ + "Commit revisions must be in range 0 to 65535" |