summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2023-08-23save-config: T4292: use vyos-save-config.pyJohn Estabrook
2023-07-15Merge pull request #65 from cuongdt1994/currentChristian Breunig
T5291: vyatta-cfg-cmd-wrapper missing ${vyos_libexec_dir} variable
2023-07-09T3355: remove legacy code and migrate remains to vyos-1x repoChristian Breunig
2023-06-30T775: Add postcommit-hooks in run directoryViacheslav Hletenko
Use /run/scripts/commit/post-hooks.d directory for scripts generated by "set service config-sync"
2023-06-21tacacs: T141: cleanup configuration files on system bootChristian Breunig
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
2023-06-08startup: T5239: force removal of /etc/hostnameChristian Breunig
Commit 4bbb382 ("startup: T5239: ensure system hostname is set before FRR starts") removed /etc/hostname but it cared about exit codes - always remove the file even if it does not exist (--force)
2023-06-08startup: T5239: ensure system hostname is set before FRR startsChristian Breunig
2023-06-08startup: T5145: clean out VyOS login limit definitionChristian Breunig
Always clean our mess before re-adding it. This is required in /etc when a user does a change but does not save the config - all his changes should be reverted on reboot.
2023-05-05T671: remove unused executablesDaniil Baturin
2023-04-01container: T5082: switch to netavark network stackChristian Breunig
2023-01-08T4922: T2651: clean ssh-client and cURL configs on bootChristian Poessinger
2023-01-06T4883: cleanup all vyos related iproute2 configuration filesChristian Breunig
2023-01-05T4883: cleanup description field for routing tables during startupChristian Poessinger
2022-12-23container: T4353: clean configuration files on system startupChristian Poessinger
2022-09-13firewall: T2199: Use data file instead of conf scriptsarthurdev
2022-07-22T31: reset iproute2 VRF table on startupChristian Poessinger
2022-07-17frr: T4536: start via systemdChristian Poessinger
2022-05-02T2216: file is called container.pyChristian Poessinger
2022-04-29vyos-router: T2216: call container script to populate default registriesChristian Poessinger
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
2022-01-01Merge pull request #43 from sarthurdev/firewallChristian Poessinger
firewall: T2199: Call firewall.py in vyos-router to create tables/chains
2021-12-16remote: Add checks for newly supported protocolserkin
2021-10-31vyos-router: dhcpv6: T3885: fix stderr output when main UUID source is not ↵Christian Poessinger
present
2021-10-24vyos-router: dhcpv6: T3885: add alternative UUID sourceChristian Poessinger
Not all boards/devices ship the /sys/class/dmi/id/product_uuid file, thus a fallback is used (e.g. on PCEngines APU4 board) which feeds the device specific UUID from /sys/class/dmi/id/product_serial
2021-10-20firewall: T2199: Call firewall.py in vyos-router to create tables/chainssarthurdev
2021-10-10vyos-router: dhcpv6: T3885: generate persistent DUID based on system UUIDChristian Poessinger
2021-09-27interface-names: T3869: use vyos-interface-rescan instead of legacyJohn Estabrook
2021-08-28vyos-router: add debug possibilitiesChristian Poessinger
Specifying vyos-debug on the Kernel commandline will enable additional debug featurs as the following temporary files are created so the boot process can be logged: * /tmp/vyos.container.debug * /tmp/vyos.ifconfig.debug * /tmp/vyos.frr.debug * /tmp/vyos.container.debug
2021-08-16conntrack: T3579: initialize subsystemChristian Poessinger
2021-08-05serial: T1739: properly delete/recreate serial interface on system bootChristian Poessinger
2021-08-05ipsec: T3719: fix "No such file or directory" warningChristian Poessinger
strongSwan expects the directories to be present - so we only clean out the config files instead of the entire folder structure.
2021-06-26Reset ctrl-alt-delete setting using the vyos-1x provided python handlerChristian Poessinger
2021-06-26Reset issue/motd using the vyos-1x provided python handlerChristian Poessinger
2021-06-26ipsec: T3643: delete potential zombie files on system startupChristian Poessinger
2021-04-29Merge pull request #38 from erkin/currentDaniil Baturin
T3439: Fix false positives in URL scheme check
2021-04-26T3439: Fix false positives in URL scheme checkerkin
2021-04-17Merge pull request #32 from zdc/T3425-sagittaChristian Poessinger
scripts: T3425: Make paths to custom scripts relative
2021-04-17T3356: Fix URL scheme checkerkin
2021-04-16T3356: Replace curl calls in vyatta-save-config.pl with calls to remote.pyerkin
2021-04-11containers: T2216: Delete default and networks for podmansever-sever
2021-04-04lsb: always restore the default issue banner on bootChristian Poessinger
2021-04-02vyos-router: T3217: mount frr.conf to /run/frr/config dirsever-sever
2021-03-23scripts: T3425: Make paths to custom scripts relativezsdc
In some cases, like ISO or PXE boot, the `/opt/vyatta/etc/config/` folder does not bind to `/config/`. To run scripts from the `/scripts/` subfolder paths must be relative, just like for the `config.boot` file. This commit replaces hardcoded paths to relative that use the `$vyatta_sysconfdir` as the prefix.
2021-01-22vyos-router: T671: fix function call order after merging rl-system.initJohn Estabrook
2021-01-17T671: add remains from rl-system.init scriptChristian Poessinger
2021-01-17vyos-router: convert tabs to spacesChristian Poessinger
2021-01-04Remove unused scripts.Daniil Baturin
2020-12-30migration: T3161: remove ConfigLoad.pm, all dependents and referencesJohn Estabrook
Remove ConfigLoad.pm due to its legacy reference to XorpConfigParser, all dependent scripts: vyatta-boot-config-loader vyatta-config-loader.pl vyatta-load-config.pl (rewritten or obviated), and references in logrotate, Makefile.am, and vyos-router (vyatta-boot-config-loader was kept as a fallback when initially introducing vyos-boot-config-loader.py).