summaryrefslogtreecommitdiff
path: root/scripts/install/install-image
AgeCommit message (Collapse)Author
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-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.
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
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)
2016-01-29Refine getting the vyos version.Kim Hagen
2016-01-29Update the way the install scrips get the vyos version.Kim Hagen
2014-07-29Replace login name check with effective UID check in install-image.Daniil Baturin
2014-01-18Bug #98: add an option for redirect support to curl call.Daniil Baturin
2013-12-22Fix curl command to fetch the signature file.Daniil Baturin
2013-11-02Fix some shell quoting weirdness (curl dumped the ISO on stdout)Daniil Baturin
2013-11-02Set User-Agent: to VyOS/$version for statistics collection.Daniil Baturin
2013-11-02Replace missed vyatta names in installerDaniil Baturin
2012-02-29Merge branch 'oxnard' of git.vyatta.com:/git/vyatta-cfg-system into oxnardJohn Southworth
2012-02-29Bugfix 7555: allow users to import ssh keys when running add system imageJohn Southworth
2012-02-21Fix spelling errors in install imageStephen Hemminger
Bug 7544 Found several misspellings in the install prompts.
2011-12-06Bugfix 7497: Include auth credentials when fetching the signature fileBob Gilligan
2011-12-06Fix up formating of Vyatta specific HTTP options.Bob Gilligan
2011-12-05Add HTTP headers to identify client and version.Bob Gilligan
2011-07-14Bugfix 5856: Add username and password options.Bob Gilligan
In order to allow username and password parameters in the corresponding op mode command, we allow username and password to be specified on the install-image command line.
2010-12-22Add more error recovery and disk space checking.Bob Gilligan
2010-11-21Bugfix 6457: Don't ask the question if you're not going to like the answer.Bob Gilligan
2010-09-08Fix quoting of shell -zStephen Hemminger
The -z test in shell needs to be quoted to avoid issues with shell expansion.
2010-08-02Bugfix 5964: Eliminate unnecessary version check.Bob Gilligan
2010-05-03Add code to check digital signature of image files.Bob Gilligan
In URL mode, we now check for a digital signature file. If one exists, we'll try to download it and check the signature.
2010-03-09Bugfix 5424: Allow image with same version to be added to disk-based installBob Gilligan
2010-03-08Use more reliable method for determining system version.Bob Gilligan
2010-02-25Bugfix 5217: Don't use the "-#" option to curl. It runs slow on serial ports.Bob Gilligan
2010-01-13Don't allow installation to proceed if MD5 checksum errors are found.Bob Gilligan
2010-01-08Switch from wget to curl since the latter supports more URL methods.Bob Gilligan
2010-01-06Validate MD5 checksums on ISO file before proceeding with installation.Bob Gilligan
2009-12-23Add support for fetching ISO file based on URL.Bob Gilligan
2009-11-02use top-level pid for progress indicatorAn-Cheng Huang
2009-10-30add unified install-imageAn-Cheng Huang