summaryrefslogtreecommitdiff
path: root/scripts/vyatta-cfg-cmd-wrapper
AgeCommit message (Collapse)Author
2023-08-23save-config: T4292: use vyos-save-config.pyJohn Estabrook
2023-06-14T5291: vyatta-cfg-cmd-wrapper missing ${vyos_libexec_dir} variablecuongdt1994
In file: /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper Commit 9e74ad7 changed the vyos-load-config.py script directory prefix to use ${vyos_libexec_dir}. However, the ${vyos_libexec_dir} variable is not exported at the start of the wrapper script. When executing the load command over an SSH session it tries to execute the vyos-load-config.py script from root, and not /usr/libexec/vyos where the script resides $ /opt/scripts/vyos/reset-router-config.pl --debug [--] Resetting VyOS router configuration... [??] Connection vyos:vyos@10.35.22.1 established successfully [??] Command : /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper begin [??] Command : /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper load config.boot.sauron.master /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper: line 84: /vyos-load-config.py: No such file or directory [??] Error running command: /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper load config.boot.sauron.master [??] child exited with code 127 [??] Command : /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper commit [??] Command : /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper end
2022-03-10Revert "save-config: T4292: use vyos-save-config.py"John Estabrook
This reverts commit 18e2864769226e39479cf3fc3be2dc5ec67acac1. Revert while investigating failure in vyos-configtest.
2022-03-08save-config: T4292: use vyos-save-config.pyJohn Estabrook
2019-10-01T1424: Rewrite the config load scriptJohn Estabrook
2011-06-15Bugfix 6767: Move log files from /tmp to /var/log/vyatta.Bob Gilligan
2010-11-30Propgate error code from my_commit in command wrapperStephen Hemminger
2010-11-24Use exec to get proper exit statusStephen Hemminger
No need to save exit code and then call exit. Use 'exec' to get tail recursion style optimization of shell functions. Also, rename the log file for commit for /tmp/bar to something we might actually want to tell customers about.
2010-11-23Add COMMIT_VIA environment variable.Stig Thormodsrud
2010-11-16remove error flag now that error locations will be exposed by default.Michael Larson
2010-11-09modify formatting options for GUI client on -x option. Set option on GUI ↵Michael Larson
invoked commit.
2010-10-01add commit wrapper hook that allows errors with location to be written to ↵root
stdout.
2010-08-26switch vyatta-cfg-cmd-wrapper to new config output implementation.An-Cheng Huang
2010-07-28add new cstore libraryAn-Cheng Huang
2010-06-11extension to cmd wrapper.Michael Larson
2010-05-14initial checkin of comment feature for cli.Michael Larson
/* to create a comment */ > comment [PATH-TO-NODE] "my comments" /* to delete a comment */ > comment [PATH-TO-NODE] ""
2010-05-05boot loader support now added. various bug fixes and some small rework.Michael Larson
2010-03-05add cmd-wrapper move command (for app-mode)An-Cheng Huang
2009-07-28alter rename rule option to work for firewall and nat rulesMohit Mehta
2009-07-08load requires additional environment variablesAn-Cheng Huang
2009-06-30add option for renaming firewall rules to cmd-wrapper scriptMohit Mehta
2009-05-21add "discard" command to cmd wrapperAn-Cheng Huang
2009-05-01add "load" support in vyatta-cfg-cmd-wrapperAn-Cheng Huang
2009-04-21Add some debug files to help diagnose boot issue with new cli ordering.Stig Thormodsrud
These should be removed before release.
2009-04-20add env override for default session idAn-Cheng Huang
2009-04-06add "save" command to cfg-cmd-wrapperAn-Cheng Huang
2008-03-17Bugfix: 2885Bob Gilligan
Place the "changes only" directory that is used by the configuration subsystem in its union mount into /tmp. We see kernel panics in unionfs at umount time in some cases when the "changes only" directory is located in a tmpfs filesystem.
2008-03-10Add GPLv2 to additional Vyatta created scriptsrbalocca
2008-03-05Add VPL to scripts and fix lintian errorsrbalocca
2008-02-20add vyatta-cfg-cmd-wrapper to replace xorp_tmpl_tool.An-Cheng Huang