summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2022-11-15T4822: install the correct version of GRUB for architecture (arm64)Mathew McBride
Fix a hardcoded x86_64-efi reference, and ensure the correct GRUB binary package is installed
2022-10-27nvme: T4776: Fixed installation to NVMEzsdc
* fixed NVME drive names parser * replaced partition parser to take into account `p` suffixes on NVME partitions
2022-06-21Make next steps after install more clearDaniel Husand
2022-03-08loadkey: T3506: Remove loadkeyerkin
2021-12-01T2076: RAID install: sfdisk change-id is deprecated in favor of --part-typeKim Hagen
T1869: Install and Boot from RAID Doesn't Work T1126: Reusing a RAID from a BIOS install in an EFI install causes a failure to boot
2021-11-24Merge pull request #170 from chaya2z/T3865John Estabrook
T3865: loadkey command help text missing escape sequence
2021-11-22T1869: Install and Boot from RAID Doesn't WorkKim Hagen
2021-11-19T1153: VyOS 1.2.0RC10, RAID-1, fresh install, unable to save configEquuleus ↵Kim
(#159) * add search for same drive size if more than 2 drives are installed * add ability to configure RAID-1 by selecting 2 drives * cleaning up sysconf/filecaps rights * cleaning up sysconf/filecaps rights xtables-monitor (cherry picked from commit 3cc31793d57ce05421300ce4e8a1a1352291db85)
2021-10-16gpg: T3879: fix signature validationChristian Poessinger
(cherry picked from commit 217c4b5c165e9e8a64bfe82d3ddade256b0990e0)
2021-09-28interface-names: T3869: remove legacy codeJohn Estabrook
2021-09-28Revert "migration: T3161: move XorpConfigParser to vyatta-cfg-system"John Estabrook
This reverts commit 4bc5dabe46fffc2edd5bdbda27f020ed1a2bfc33.
2021-09-26T3865: loadkey command help text missing escape sequencechaya2z
2021-09-10Makefile: drop unreferenced vyatta-passwd-sync helper scriptChristian Poessinger
2021-09-06install-image: T2108: use minisign backup key if primary key failsChristian Poessinger
(cherry picked from commit 0c5edf1ced2872c495b190977db575deaf28fa1c)
2021-09-06install-image: remove whitespaces after .Christian Poessinger
(cherry picked from commit c36db1614b60fc180d016fd3b7f64d9342a503a6)
2021-09-03T1785: Deleting partitions on disks (Raid1) with default value 'no'Kim Hagen
the default was still set to "Yes"
2021-08-26install-image: T2108: verify image by using minisign over GPGChristian Poessinger
We will first download and try to verify the image using the generated minisign signature. If this fails, we try to retrieve the GPG signature file.
2021-08-08T169: Image install should put correct serial console device in created grub ↵Kim Hagen
menuentry
2021-06-26Debian: remove deprecated vyatta-config-reboot-params scriptChristian Poessinger
Actions are now handled in vyos-router script on startup by calling the vyos-1x Python handler scripts.
2021-06-23T3506: Clarify deprecation noticeerkin
2021-06-20T3506: Deprecate `loadkey`erkin
2021-06-13T3356: Remove redundant error messageerkin
2021-05-18T3356: remote: Read username and password from environment variableserkin
2021-05-18T3356: Switch install-image from curl to remote.pyerkin
2021-05-10T3351: Check for SHA256 filesLulu Cathrinus Grimalkin
Fall back to MD5 if SHA256 checksums could not be found Don't bother downloading .iso.sha256 files
2021-04-01migration: T2838: fix parsing of quoted config value for hw-idJohn Estabrook
2021-01-17T671: drop rl-system.init, moved to vyos-router init scriptChristian Poessinger
2021-01-17T671: rl-system: drop add_new_serial_if functionChristian Poessinger
Serial interface is in the default config and without that function system installation via serial console still works like a charm!
2021-01-17T671: rl-system: version.master file no longer existsChristian Poessinger
2021-01-17T671: drop SSH key generation and move this to vyos-1xChristian Poessinger
2021-01-17T671: we no longer support telnet, remove configChristian Poessinger
2021-01-17T671: move IPv6 setup from rl-system to sysctlChristian Poessinger
2021-01-17T671: cleanup rl-system and move components to better suited locationsChristian Poessinger
- CHanging sysctl values should be done by out generic file /etc/sysctl.d/30-vyatta-router.conf - NTP config must not be restored from from /opt as it is entirely rendered from scratch.
2021-01-14T671: re-add removed restricted-shell scriptChristian Poessinger
Commit ac2586bc ("T671: remove apparently unused scripts") dropped the restricted-shell helper script which is not referenced by any other VyOS/Vyatta shell script, but rather directly from C code [1]. Restore the file. [1] https://github.com/vyos/libpam-radius-auth/blob/76ad405d374f70812/src/radius_shell.c#L125-L129
2021-01-08T671: remove apparently unused scripts.Daniil Baturin
2020-12-30migration: T3161: remove scripts ec2-vyos-init, ec2-check.plJohn Estabrook
These scripts have been superseded by the cloud-init tools, and contain legacy references to XorpConfigParser.pm (via vyatta-cfg/scripts/vyatta-load-config.pl, via ConfigLoad.pm), which one would like to retire.
2020-12-30migration: T3161: move XorpConfigParser to vyatta-cfg-systemJohn Estabrook
The scripts: vyatta_net_name vyatta_interface_rescan still require XorpConfigParser; all other uses have been rewritten, or obviated. In order to retire the package vyatta-config-migrate in favor of keeping migration scripts in vyos-1x, we need to move this module into vyatta-cfg-system for use by the above mentioned scripts.
2020-12-22xdp: mount /sys/fs/bpf on startup for later map populationChristian Poessinger
2020-11-27vyatta-cfg: T2713: Return original permissions for config-auth files in updatesever-sever
2020-10-28image: T3027: do not rely on the ISO filename when calculating sha256 hashChristian Poessinger
Updating a running VyOS installation by using the "add system image" command pointing to https://downloads.vyos.io/rolling/current/amd64/vyos-rolling-latest.iso will break the validation due to filename missmatch. The root cause for this is the sha256 checksum file itself. It contains the hash and the filename used when hashing. When running "sha256sum --check" during the upgrade it expects the "real" filename when calculating and verifying the hash. The real filename differs when using the vyos-rolling-latest.iso symlink on the webserver as it will tell the running VyOS installation a different filename and the validation fails. This is now fixed by not depending on the filename when verifying the hash. We simply calculate the hash of the downloaded file and compare it to the has we saved inside the checksum file and totally ignore the filename itself.
2020-10-18image: T2992: automatically verify sha256 checksum on ISO downloadChristian Poessinger
Good: ===== vyos@vyos:~$ add system image http://foo.com/vyos-1.3-rolling-202010180826-amd64.iso Trying to fetch ISO file from http://foo.com/vyos-1.3-rolling-202010180826-amd64.iso % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 309M 100 309M 0 0 25.1M 0 0:00:12 0:00:12 --:--:-- 25.2M ISO download succeeded. Checking SHA256 (256-bit) checksum... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 106 100 106 0 0 26500 0 --:--:-- --:--:-- --:--:-- 26500 Found it. Verifying checksum... SHA256 checksum valid. Checking for digital signature file... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found Unable to fetch digital signature file. Do you want to continue without signature check? (yes/no) [yes] Bad: ==== vyos@vyos:~$ add system image http://foo.com/vyos-1.3-rolling-202010180826-amd64.iso Trying to fetch ISO file from http://foo.com/vyos-1.3-rolling-202010180826-amd64.iso % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 309M 100 309M 0 0 25.8M 0 0:00:11 0:00:11 --:--:-- 25.8M ISO download succeeded. Checking SHA256 (256-bit) checksum... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 106 100 106 0 0 9636 0 --:--:-- --:--:-- --:--:-- 9636 Found it. Verifying checksum... vyos-1.3-rolling-202010180826-amd64.iso: FAILED sha256sum: WARNING: 1 computed checksum did NOT match Signature check FAILED. Installation will not be performed. Exiting...
2020-09-26cfg-system: T2902: Fix regex that doesnt allow X in image namesever-sever
2020-09-23cfg-system: T2896: Fix DHCP interface lease file namesever-sever
2020-09-01Revert "init: refresh Kernel module dependencies"Christian Poessinger
This reverts commit c406852a0288f598a74a86cde553790f6a85537f.
2020-09-01init: refresh Kernel module dependenciesChristian Poessinger
2020-08-23Merge pull request #126 from sever-sever/T2423Christian Poessinger
conf-mode: T2423: Loadkey add insecure option
2020-08-23install-image: T2690: T2762: always run in default VRF unless specifiedChristian Poessinger
When you connect via SSH and run the "add system image" command, it is launched inside the VRF you are currently connected to. This might become confusing as the VRF context changes. Change command to always run in "default" vrf unless "add system image" command is invoked with the vrf option.
2020-08-04cronjob: T1194: clear config on bootChristian Poessinger
Config must be cleared on boot, otherwise if one configures a cronjob without explicit saving the config it will still be present on the next reboot.
2020-08-01install-image: T2690: add VRF support when installing new imagesChristian Poessinger
2020-08-01install-image: T2753: add named command line optionsChristian Poessinger
This makes it easier to add VRF support.