summaryrefslogtreecommitdiff
path: root/scripts/install
AgeCommit message (Collapse)Author
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-30Replace login check with UID check in install-get-partition.Daniil Baturin
2014-07-29Replace login name check with effective UID check in install-image.Daniil Baturin
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-07-25Fix is_live_boot check to account for the overlayfs change.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
2014-03-18Cleanup of unused parted root partitioning starting offsethydrajump
As we are no longer setting the ROOT_OFFSET based on disk size, I have removed the ROOT_OFFSET variable and the set_root_fstype function.
2014-03-16Fixed parted command for root partition alignment.hydrajump
The current parted command does not align the root partition as desired by the `--align optimal` option. This is evident from this parted message: "Warning: The resulting partition is not properly aligned for best performance." Instead of setting the ROOT_OFFSET=64S or ROOT_OFFSET=1024S (> 10GB) we should set it to 0%. This will result in optimal alignment regardless of disk size. Source: https://unix.stackexchange.com/a/49274
2014-01-18Bug #98: add an option for redirect support to curl call.Daniil Baturin
2013-12-22Change image name for new installs to just numeric version.Daniil Baturin
2013-12-22Fix curl command to fetch the signature file.Daniil Baturin
2013-12-22Bug #96: fix menu entry generation so image version is included.Daniil Baturin
2013-11-02Replace s/Vyatta/VyOS/ in parition handling installer functionsDaniil 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
2013-11-02Fix image name, according to new numeric-only vyatta-version namingDaniil Baturin
2013-10-21Update default user in installer script.Daniil Baturin
2012-12-12revert 918bd40d3e3f238a800b1486f70e2d5ee1d71a72John Southworth
2012-09-18fix for 8372 - Unclear which user ID the changed administrator password ↵Deepti Kulkarni
applies to fix for 8350 - Install allows installation with empty password
2012-09-04Bugfix 8290John Southworth
Don't allow default password to persist after first boot. Due to the numerous ways a user can get a vyatta system this required a lot of changes. 1. Don't allow a user to set a password to 'vyatta' after first login, but allow it on the initial boot otherwise the system will have no user. 2. Don't allow the password to be set to vyatta in installer. 3. Force password change on first login. under the following conditions: 3.a. User is an admin level user. Operators do not have the abillity to change the config so they can't change passwords. Allow 'vyatta' to be the password until an admin logs in. 3.b. This is not the livecd, its silly to force a password change before install.
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.
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.
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