summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2024-03-04T6088: Fix saving confiugration and replacing fsync with syncViacheslav Hletenko
The `fsync` function does not work correctly and if we force reset the system (sysrq-trigger to emulate power cut) or do "power cut" on the baremetal server immediately after saving, we will get the corrupted configuration file `/config/config.boot` Using `sync` fixes this bug
2024-02-13init: T2044: always start/stop rpki during system bootChristian Breunig
2023-01-08T4922: T2651: clean ssh-client and cURL configs on bootChristian Poessinger
(cherry picked from commit 4448d944c3cb6a47692119c8f1e8442e82316183)
2022-12-30container: T578: backport podman from 1.4 development branchChristian Poessinger
2021-12-16remote: T3356: Backport remote module use to Equuleuserkin
2021-11-08T3912: always restore login banner on bootChristian Poessinger
2021-11-08vyos-router: remove whitespacesChristian Poessinger
2021-10-31vyos-router: dhcpv6: T3885: fix stderr output when main UUID source is not ↵Christian Poessinger
present (cherry picked from commit 77569a0c2fa529289bfc6c8f77e8edbc221f54b9)
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 (cherry picked from commit 224941480bb5e41ee6b43e3bf0f357568f18d44f)
2021-10-10vyos-router: dhcpv6: T3885: generate persistent DUID based on system UUIDChristian Poessinger
(cherry picked from commit 6a94fc44e95735b9f6bd4fc162c3775b902dc0eb)
2021-09-09T3816: Partial revert "Remove unused scripts."Christian Poessinger
This reverts parts of commit 5475f9ab0f9bc3f547491d6f2e2e441ea4ffed57.
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.ifconfig.debug * /tmp/vyos.frr.debug * /tmp/vyos.container.debug (cherry picked from commit 1c19c5d83797eaaff1976ce80374456cacdc9e6c)
2021-08-05serial: T1739: properly delete/recreate serial interface on system bootChristian Poessinger
(cherry picked from commit d93aa7a934b35dbb4229d2463a869cbaee1654cd)
2021-04-28vyos-router: T3217: mount frr.conf to /run/frr/configsever-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-07Remove unused scripts.Daniil Baturin
2021-01-04migration: 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).
2020-03-12[boot-config-loader] T1622: use vyos-boot-config-loader, if availableJohn Estabrook
2020-02-13Merge pull request #22 from zdc/T1987Christian Poessinger
dhclient-script: T1987: Moved vyatta-dhclient-hook from vyatta-cfg to vyos-1x
2020-02-12dhclient-script: T1987: Moved vyatta-dhclient-hook from vyatta-cfg to vyos-1xzsdc
2020-02-12grammar/spelling fix (#21)kroy-the-rabbit
2020-01-19T1970: init: delay initialization of vyos-router to udev is setteledRunar Borge
On devices with many nic's udev initialization and nic renaming could take a lot of time, this commit delays vyos-router startup until udev is completed, and thouse all nic renaming processes are completed prior to starting vyos-router
2019-10-08frr - typo fixed to stop frrhagbard
2019-10-01T1424: Rewrite the config load scriptJohn Estabrook
2019-09-02Revert "[boot-config-loader] T1622: Add failsafe and backtrace to boot ↵Christian Poessinger
config loader" This reverts commit 2efab7cecff92a44245fdc32d928faf6386a6e03.
2019-08-31[boot-config-loader] T1622: Add failsafe and backtrace to boot config loaderJohn Estabrook
2019-08-27T1398: remove reference to deprecated version scriptJohn Estabrook
2019-05-30T1334: Migration script runner rewriteJohn Estabrook
Use vyos-1x migration script runner.
2019-04-14T1273: shorten the debug check.Daniil Baturin
2019-04-14T1273: add an kernel command line option to enable debugging on boot.Daniil Baturin
2019-03-13Revert "[frr-script] fixing frr-init parameter syntax"hagbard
This reverts commit 0eab765d5ad24f7fb4dd722ac20d370f708379f0.
2019-03-13[frr-script] fixing frr-init parameter syntaxhagbard
2019-03-12Update the startup script for FRR post 7.0 start procedure.Daniil Baturin
2019-01-02T1146: run postconfig scripts from vyos-router startup script to force ↵Daniil Baturin
correct ordering.
2018-11-12T969: bind mount /boot before config.boot is loaded so that GRUB config can ↵Daniil Baturin
be modified by config scripts.
2018-10-21Move systemd mods to /lib directoryUnicronNL
Remove redundant my_commit check Do not show output on serial-getty (double output issue)
2018-10-18Create the status file at the correct moment.Kim
2018-10-15Rework vyos router init (#11)Kim
* Add a systemd vyos.target and split the vyatta-router init script to multiple systemd scripts. * remove ref to cloud-init * Remove vyatta-router init and rename vyatta-router to vyos-initialize. * Install files to correct dirs * try to fix systemd boot issues * Update script names run config load in background to not block systemd * Prevent cat: write error: Broken pipe * Rework vyos startup * add systemd to Makefile.am * Update script name * Fix inclusion of getty conf * Fix indentation
2018-09-01T731: fix use of uninitialized value in concatenationChristian Poessinger
2018-06-05T684: remove the old config to command convertor.lithiumDaniil Baturin
2017-11-03T281: Support 'http' permanent redirects (code 301)Christian Poessinger
This enables fetching a VyOS config from a http://foo/bar URL even when http://foo/bar is a permanent redirect to https://foo/bar.
2017-11-03T281: Validate error codes for 'http' and 'https'Christian Poessinger
2017-11-03T281: Add https support to the load commandChristian Poessinger
2016-02-09Use dhcp instead of dhcp3.Kim Hagen
2015-10-25Prevent grouping from capturingLeon Messner
2015-10-25Bug 584 - Allow sftp as copy and commit-archive location destination.Leon Messner
2015-07-11vyatta-cfg: formatting changes for style consistencyAlex Harpin
Perltidy run on scripts/vyatta-config-loader.pl and scripts/vyatta-save-config.pl to have consistent identation levels and style throughout.
2015-04-09Bug #538: run user commit hooks as vyattacfg group member.Daniil Baturin
Fix wrong placement of the post-commit script.
2015-04-03Bug #538: add scripts for running user commit hooks.Daniil Baturin
2014-07-02Bug #251: add dirty hack for taking config from stdinDaniil Baturin
to config-gen-sets script.