summaryrefslogtreecommitdiff
path: root/scripts/install
AgeCommit message (Collapse)Author
2012-01-20Make disk label if necessaryStephen Hemminger
Bug 7732 Restore installation section that makes disk label.
2012-01-03install: use sfdisk to get disk sizeStephen Hemminger
sfdisk is simpler, and safer for getting disk size. It doesn't require as much screen scraping and doesn't need disk label.
2011-12-07Merge branch 'oxnard' of fiji.vyatta.com:/git/vyatta-cfg-system into oxnardStephen Hemminger
2011-12-06Bugfix 7497: Include auth credentials when fetching the signature fileBob Gilligan
2011-12-06Merge branch 'oxnard' of fiji.vyatta.com:/git/vyatta-cfg-system into oxnardStephen Hemminger
2011-12-06Fix up formating of Vyatta specific HTTP options.Bob Gilligan
2011-12-06Merge branch 'oxnard' of fiji.vyatta.com:/git/vyatta-cfg-system into oxnardStephen Hemminger
2011-12-05Add HTTP headers to identify client and version.Bob Gilligan
2011-12-02md: don't start unless neededStephen Hemminger
Don't start RAID (md) unless root device is configured for RAID.
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-09-01Bugfix 7488: Configure Xen PV console hvc0 in Vyatta config file.Bob Gilligan
Previously, the install-image program was adding a line to /etc/inittab in the image being installed. This change adds a console entry to the Vyatta config file instead. Because of that entry, the system automatically generates a console entry for hvc0 in /etc/inittab at boot time. I also removed the code in install-image that added a line to /etc/fstab to mount /proc/xen. This is no longer necessary because the /etc/init.d/xe-linux-distribution startup script now mounts /proc/xen.
2011-08-31Bugfix 7469: Add support for installing onto XenBob Gilligan
2011-08-17Bugfix 7350: Allow default config.boot to be selected as config file.Bob Gilligan
Previously, the user could only select the running config file, which includes any changes the user may have made and saved, plus system generated changes such as the MAC addresses of ethernet interfaces. This change allows them to select that file or the system's default config file.
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-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.
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
2011-05-05Make ext4 the default file system typeStephen Hemminger
2011-05-04Align install-image partition correctlyStephen Hemminger
Need to pass correct offset for start of root partition
2011-05-03Adjust root partition offset based on disk sizeStephen Hemminger
On tiny disks, then it doesn't make sense to waste space by offsetting root partition. On big disks, it doesn't hurt and it allows for running on SSD.
2011-04-30Yet another better alignment startStephen Hemminger
Parted has magic value '0%' which causes it to choose optimum alignment (2048 on most disks).
2011-04-30Fix alignment of root partitionStephen Hemminger
Redo Bug 7038 The previous change did nothing; the alignment option only reports alignment, it does not change values. Need to manually reserve space before root partition.
2011-04-28Tell parted to align disk partitionStephen Hemminger
Bug 7038 Align the created disk partition for both install-system and initial install-image. Note: can't fix existing systems where disk is already partitioned. They will just have to suffer with poor performance.
2011-01-17Bugfix 6687: Need to explicitly specify the RAID metadata version number.Bob Gilligan
(cherry picked from commit 5de8a194db56c51c9e5541cca43423f11534ffb7)
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-11-21Bugfix 6101: Make a syslog record when a new image is added.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-09-08Fix quoting issues with conversion to lower caseStephen Hemminger
Add common shell function to convert to lower case. Part of Bug 6132
2010-08-02Bugfix 5964: Eliminate unnecessary version check.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-30Improve wording of config info save dialog.Bob Gilligan
2010-03-18Bugfix 5449: Maintain "console affinity" when adding a new image.Bob Gilligan
2010-03-12Run partition editor with script flag to avoid prompting userStephen Hemminger
Bug 5443 When running on HyperV, install-system appeared to hang because although hda existed, it had no information so parted was prompting for retry. Use the -s flag (never prompt) at all the places in install-system/install-image where we don't want to have user interaction.
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-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-03-08Bugfix 5414: Use correct install root reference when copying back SSH keys.Bob Gilligan
2010-03-05Bugfix 5413: Determine system version from vyatta-version package.Bob Gilligan
(cherry picked from commit 5ea1d90dbe42b0eefbc222b98b9b357b5676cb8b)
2010-02-25Bugfix 5217: Don't use the "-#" option to curl. It runs slow on serial ports.Bob Gilligan
2010-02-16Bugfix 5327: Don't try to save config from images with none.Bob Gilligan
On image-based systems, the Vyatta configuration is mounted on /config and can be found in the disk filesystem under /boot/<image-name>/live-rw/config.
2010-02-08Bugfix 5225: Include the OS version number in the grub menu entry.Bob Gilligan
2010-01-26Bugfix 5229: Save old config info when installing on pre-existing RAID group.Bob Gilligan