summaryrefslogtreecommitdiff
path: root/scripts/install/install-image-existing
AgeCommit message (Collapse)Author
2014-12-03Adding initial support for loading a config from AWS EC2 user-datajrb
2014-10-08If not running on AWS (system UUID and serial do not start with EC2), don't ↵Daniil Baturin
do AWS-specific things.
2014-07-29Replace login name check with effective UID check.Daniil Baturin
2014-07-25Bug #269: missed return in is_ec2_ami.Daniil Baturin
2014-06-16Bug #239 - Getting the version number by using dpkg will not work when ↵Kim Hagen
upgrading to newer version of debian.
2014-05-06Fix to enable ec2-fetch-ssh-public-key init scripthydrajump
The init script was not running on boot because the init script symlinks were not created in /etc/rcX.d for the runlevels: 2,3,4,5. This fix runs the update-rc.d command in the is_amazon_ec2_ami function, thus creating the required symlinks and also updating /etc/init.d/.depends.on.start.
2014-05-03Fix AWS EC2 AMI supporthydrajump
- grub.cfg is now correctly modified when installing on a VyOS AMI - ec2-fetch-ssh-public-key init script still needs to be activated if installing on a VyOS AMI. This is an outstanding issue which needs to be addressed. See debian/vyatta-cfg-system.postinst.in.
2014-04-28Add support for installing a new image on the Amazon AMIhydrajump
- Check if installing on AWS EC2 platform via instance metadata. - Configure GRUB correctly, so that boot messages are available via instance's console. - Add init.d script to fetch user's EC2 public key during boot.
2014-04-28Remove trailing whitespacehydrajump
2014-04-25Support and switch to overlayfsJames Davidson
2013-12-22Bug #96: fix menu entry generation so image version is included.Daniil Baturin
2012-05-16Change default to No when not enough space to save configJames Davidson
During an image add, the default used to be to not save the current configuration and continue with adding the image. Now the default is to not continue. Fixes bug 7964.
2011-10-12Bugfix 7502: Get "add system image" to work on XenBob Gilligan
This fix solves the problem with indirection. We introduce a symlink in /live/image/boot pointing to the current default system image. The pygrub config file in /boot/grub/menu.lst points to the kernel and initrd files in the default image by using this symlink in the pathname. Every time we add, delete or change the default system image, we need to change this symlink to point to the new default image.
2011-08-12Add hook to call a config migration script when upgrading from VSE Demo.Bob Gilligan
(cherry picked from commit d891558527fdc077b8c0b37c24cb8b17a2ae7043)
2011-06-24Make add system image use the new config directory for copying filesJohn Southworth
2011-05-12Merge branch 'napa' of git.vyatta.com:/git/vyatta-cfg-system into napaJohn Southworth
2011-05-12Bugfix 7076: make add system image copy to /config instead of ↵John Southworth
/opt/vyatta/etc/config
2011-05-10support interactive mode for rest api for install image op mode commands.Michael Larson
2010-12-22Add more error recovery and disk space checking.Bob Gilligan
2010-11-21Bugfix 6101: Make a syslog record when a new image is added.Bob Gilligan
2010-07-28Bugfix 5711: Don't allow special characters in image names.Bob Gilligan
2010-07-27Bugfix 5929: Preserve SSH host keys during image installation.Bob Gilligan
(cherry picked from commit 71b716b7f5e5df1dd4ea6e8a16c7f987381cab8c)
2010-05-07Merge branch 'larkspur' of vm:git/vyatta-cfg-system into larkspurStephen Hemminger
2010-05-07Preserve file attributes of root filesStephen Hemminger
Want to preserve labels and other attributes
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-04-30Allow user to name system images when installing them.Bob Gilligan
Now we ask the user what they would like to name an image when they are installing. The default answer is the same string used previously: The Vyatta version string.
2010-03-18Bugfix 5449: Maintain "console affinity" when adding a new image.Bob Gilligan
2010-03-08Use more reliable method for determining system version.Bob Gilligan
2010-03-08Bugfix 5360: Get name of image from correct source.Bob Gilligan
The name of a system image is supposed to match the Vyatta version string. Previously, the install-image script determined the name of the image being installed by parsing a field in the Vyatta version file on the image being installed. But the format of that file has changed, and may change again the future, so it is not a good source of the Vyatta version string. The most accurate way to determine the Vyatta version string is to look up the debian package version string associated with the vyatta-version package on the image being installed. This changes the install-image script to get the system image name that way. (cherry picked from commit e1864411c77e688b1b67de40441550b1f1eba055)
2010-01-25Bugfix 5240: Prevent re-installation of same version on running systemsBob Gilligan
Previously, it was possible in some cases to "add" a system image that would over-write the running image. This change fixes that by getting the version string of the running system from the kernel command line instead of the Vyatta version file. This string represents the actual directory name that holds the image, so is more reliable. Also previously, an attempt to "add" a system image that had the same version string as another image installed on the system (but was not the running image) would always succeed. This would completely over-write that image. Because of this destructive behavior, it deserves a confirmation question. This change prompts the user to see if they really want to do that before proceeding.
2009-11-06copy the whole config directory during installAn-Cheng Huang
2009-10-30add unified install-imageAn-Cheng Huang