diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2010-11-05 17:56:37 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-11-05 17:56:37 -0700 |
commit | 266ae832374d6231a0a662776c30ec597c6925aa (patch) | |
tree | 9b46ef4260cb4319eb13b21fdf56ca5af4c1fd7b /templates-cfg | |
parent | a60321f3b38c93b200ff2705eebd4d274cda895d (diff) | |
download | vyatta-config-mgmt-266ae832374d6231a0a662776c30ec597c6925aa.tar.gz vyatta-config-mgmt-266ae832374d6231a0a662776c30ec597c6925aa.zip |
Fixes for config-mgmt.
- fix permission problems
- remove link on disable of commit-revisions.
- don't push if file hasn't changed or on boot
- save a baseline config when 1st starting the feature.
Diffstat (limited to 'templates-cfg')
-rw-r--r-- | templates-cfg/system/config-mgmt/commit-revisions/node.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates-cfg/system/config-mgmt/commit-revisions/node.def b/templates-cfg/system/config-mgmt/commit-revisions/node.def index e5da66a..854bb1e 100644 --- a/templates-cfg/system/config-mgmt/commit-revisions/node.def +++ b/templates-cfg/system/config-mgmt/commit-revisions/node.def @@ -6,6 +6,11 @@ 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 ; \ |