summaryrefslogtreecommitdiff
path: root/scripts/install
AgeCommit message (Collapse)Author
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
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-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-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-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.
2020-01-13install: T1940, fix unbootable EFI, 4kn compatibilitykroy
2019-12-06Merge branch 'current' of github.com:vyos/vyatta-cfg-system into equuleusChristian Poessinger
* 'current' of github.com:vyos/vyatta-cfg-system: syslog: T1845: migration script support bumps system to 12 syslog: T1845: migration script support bumps system to 12 Revert "syslog: T1845 bumping system version for migration script" syslog: T1845 bumping system version for migration script Fix rootdev regex to support mmcblk devices geneve: T1799: add Generic Network Virtualization Encapsulation
2019-12-03Fix rootdev regex to support mmcblk devicesRobert Edström
2019-10-21Merge branch 'current' into equuleushagbard
Auto-merging scripts/rl-system.init Auto-merging scripts/install/install-image Auto-merging Jenkinsfile
2019-10-18[system-proxy]: T1741 - Add system wide proxy settinghagbard
2019-10-08install-image: T1718 - ISO check in /opt/vyatta/sbin/install-image faultyhagbard
2019-06-18[ installer ] T1446: on installing with efi skip theKim Hagen
xen extra checks, they use dmidecode which will not work in efi mode Get the UUID of the correct partition based on the install type (bios/efi)
2019-06-12fix if statementKim Hagen
2019-06-12Force create raid without answering the question if you want to create it.Kim Hagen
Update initramfs to include raidconfig avoiding md127 being created on reboot.
2019-04-23T1327: Set the serial console speed to 115200 by defaultJohn Estabrook
Set the default serial console speed to 115200 in system update scripts, to accord with the changes in the build scripts.
2019-04-10T1329: support installation on SD cards fixKim
2019-03-27T1296: support installation on SD cardsChristian Poessinger
2018-12-03T1047: look for a saved config in the "real" config dir at install timeDaniil Baturin
(i.e. not the bind-mounted /config).
2018-12-01EFI Cleanup. Adding removable option to grub-installKroy
2018-11-09Cleanup output (#85)Kim
2018-11-07Add uefi install option. (#84)Kim
* Add grub-efi package dependencies * Install grub-efi if we install on efi partition
2018-11-06T955: Integrating EFI into the installerKroy
2018-11-05T955: Integrating EFI into the installerKroy
2018-10-15T885 Bug in add system image signature check confirmationEwald van Geffen
Documentation https://github.com/vyos/vyatta-cfg-system/blob/current/scripts/install/install-functions#L90 (cherry picked from commit 1a05b1bfe0ccfd3f02a1cd4983b5f899364408c8)
2018-10-02Remove some remnant of the Vyatta Subscription days.Daniil Baturin
2018-10-02T867: set the upgraded flag on image update if the user choses to save ↵Daniil Baturin
configuration.
2018-08-02T764: increase the drive size requirement to 2G.Daniil Baturin
2018-05-31T232: force FAT label creation before creating the root partition.Daniil Baturin
2018-03-10Merge remote-tracking branch 'upstream/current' into currentChristian Poessinger
* upstream/current: T507: add autocompletion or SSH key exchange algorithms sometimes drives report they are not aligned
2018-03-10Merge remote-tracking branch 'c-po/remove-install-system-cmd' into currentChristian Poessinger
* c-po/remove-install-system-cmd: Remove "install system" command
2018-02-22sometimes drives report they are not alignedKim
And then on reboot it hangs where it should start grub
2017-12-27T496: remove diagnostic partition for RAID1 installsChristian Poessinger
2017-11-03Remove "install system" commandChristian Poessinger
Related to "T157: Remove "install system" command".
2017-06-05remove trailing space from version (if there is any)Kim
2017-03-20exclude install medium from raid disk countKim
2016-05-21T69 Remove floppy device settingsKim Hagen
2016-02-05Do not create persistent fstab, this will interfere with systemd.Kim Hagen
2016-02-05Renamed vyatta-union to vyos-union.Kim Hagen
2016-02-03Add vyos-persistpath and update install-image-existing and ↵Thomas Jepp
vyatta-update-grub.pl to use it.
2016-02-03Make add system image install the image to the right place.Thomas Jepp
2016-02-02Do not create fstab file for union install, this conficts with systemd.Kim Hagen
2016-02-01Rename "live-rw" to only "rw".Kim Hagen
2016-02-01Label disk on format and create persistence.conf file to get live-bootKim Hagen
to set the correct persistence.