summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2010-03-08Bugfix 5416: determine system version from version of vyatta-version packageBob 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-03-03Bugfix 5404: Handle RAID re-sync on image-installed systems.Bob Gilligan
2010-02-25Bugfix 5217: Don't use the "-#" option to curl. It runs slow on serial ports.Bob Gilligan
2010-02-18Fix Bug 5064 can't delete bridge group and membership in one commitMohit Mehta
* fix this for eth, eth.vif, bond, bond.vif interfaces * also, bridge-group code for bonding interfaces wasn't changed with commit ec080f99 that re-strucutred bridging code in eth and eth.vifs to fix bug 4708. bridge-group code for bond and bond.vif interfaces is now similar to the fix for 4708
2010-02-17Add support for options in keyfileStephen Hemminger
The sshd file format has optional options; copy them to a placeholder node and generate to authorized_keys Better error message when wrong number of arguments.
2010-02-17Handle DSA keysStephen Hemminger
Bug 5350 Need some changes to support DSA keys (Protocol V2). Also add support for options in key file.
2010-02-16Merge branch 'kenwood' of suva.vyatta.com:/git/vyatta-cfg-system into kenwoodStephen Hemminger
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-16Use die function for failuresStephen Hemminger
die prints to standard error, so any interface failures show up in error file during boot, rather than being lost in trace messages.
2010-02-16Add syntax check for vif name where non-vif expectedStephen Hemminger
Bug 5331
2010-02-11Bugfix 5117: Preserve config files from previous image installation.Bob Gilligan
The install-image program knows how to preserve the config files from a previous image or disk-based installation. The install-system program already knew how to preserve config files from a previous disk-based installation. This change teaches it how to preserve config files from a previous image installation.
2010-02-09Remove IPv6 address_flush sysctlStephen Hemminger
No longer used in latest Vyatta kernel.
2010-02-08Bugfix 5225: Include the OS version number in the grub menu entry.Bob Gilligan
2010-02-05Bugfix 5120: Use biosdevname to generate the canonical name for an interface.Bob Gilligan
Network interfaces are discovered at boot time in non-deterministic order, so their names are non-deterministic. The vyatta_net_name script is responsible for ensuring that network interface names are changed to match their Vyatta config file entry when a match based on MAC address is found. With this change, when a match is not found, we use the biosdevname tool to to find the canonical name for an interface, then change the interface's name to that name. This ensures that NICs are named in a deterministic and systemmatic fashion.
2010-02-02Bug in handling local key fileStephen Hemminger
When URL was added, local file read got broken!
2010-02-02Static host-name mapping changesStephen Hemminger
Fix help text (Bug 5254) and allow IPV6 static mapping (Bug 5298)
2010-01-26Merge branch 'kenwood' of 192.168.100.1:git/vyatta-cfg-system into kenwoodStephen Hemminger
2010-01-26Add additional check that new user doesn't exist in NSSStephen Hemminger
If user exists in NSS (LDAP, TACACS+) but not on local machine, then it can not be changed with CLI. useradd will fail (user exists), and usermod will fail (can't find user in passwd file). Bug 5249
2010-01-26Bugfix 5229: Save old config info when installing on pre-existing RAID group.Bob Gilligan
2010-01-26Bugfix 5220: Use correct path to config directory on installed image.Bob Gilligan
2010-01-26Bugfix 5232: Correctly handle case where user doesn't want to save SSH keysBob Gilligan
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.
2010-01-24Fix allow-root for telnet/sshStephen Hemminger
Bug 5252 The boot script needs to restore default settings, and the templates are then used to enable root access.
2010-01-20Set IPV6 parameters in rl-system.initStephen Hemminger
The problem is that IPV6 module is not loaded when sysctl's are interpreted during boot, and we want to allow marking IPV6 disabled.
2010-01-19Merge branch 'kenwood' of suva.vyatta.com:/git/vyatta-cfg-system into kenwoodStephen Hemminger
2010-01-19Fix typo in install-imageStephen Hemminger
This could fix Bug 5151 There was a typo in script that saved old config
2010-01-19Merge branch 'kenwood' of http://git.vyatta.com/vyatta-cfg-system into kenwoodStig Thormodsrud
2010-01-19Change how IPV4/IPV6 configuration values are doneStephen Hemminger
1. Move vyatta-sysctl.conf from rl-system.init to procps This makes configuration happen early (before networking) 2. Do IPV6 configuration for address_flush in rl-system.init (after IPV6 is loaded) 3. Cleanup shell code for ipv6_params: * no sudo needed in startup scripts * use cleaner iteration
2010-01-19Restiction on filtering of udev rulesJon Andersson
2010-01-18Fix snmp trap-sourceStephen Hemminger
Incorrect config level in script.
2010-01-18Fix typo in community for trap-targetStephen Hemminger
2010-01-18Bugfix 5220: Save config information from previous image-based install.Bob Gilligan
If previous disk-based install is found, use config info from it. Otherwise look for image-based installs. If multiple image-based installs are found, let the user select which one to save the config information from.
2010-01-13Merge branch 'kenwood' of suva.vyatta.com:/git/vyatta-cfg-system into kenwoodStephen Hemminger
2010-01-13Don't allow installation to proceed if MD5 checksum errors are found.Bob Gilligan
2010-01-11Merge branch 'kenwood' of suva.vyatta.com:/git/vyatta-cfg-system into kenwoodStephen Hemminger
2010-01-08Switch from wget to curl since the latter supports more URL methods.Bob Gilligan
2010-01-07Add support trap source addressStephen Hemminger
Bug 458 Add service snmp trap-source <address> wrapper for /etc/snmp/snmp.conf
2010-01-07Add support for trap community and portStephen Hemminger
Bug 3756 Allow setting trap communities and port values.
2010-01-06Merge branch 'kenwood' of suva.vyatta.com:/git/vyatta-cfg-system into kenwoodStephen Hemminger
2010-01-06Validate MD5 checksums on ISO file before proceeding with installation.Bob Gilligan
2010-01-06Updates to SNMP link state trapStephen Hemminger
Bug 3811, 3806 Poll more frequently for link state traps and include more information.
2010-01-05Change 'protocols snmp' to 'service snmp'Stephen Hemminger
Bug 212 The entries in config under protocols were all routing protocols except SNMP which was an unfortunate original design choice. Config script does migration.
2010-01-05SNMP: Merge common code for rand hex numberStephen Hemminger
2010-01-05Cleanup SNMP config file generationStephen Hemminger
Create to temporary file first, then move.
2009-12-23Add support for fetching ISO file based on URL.Bob Gilligan
2009-12-23Handle default of autoStephen Hemminger
If device doesn't support speed/duplex, then speed = auto which is default is okay.
2009-12-22Read Vyatta version from fileStephen Hemminger
Part of ehancement requested in Bug 3869 Include Vyatta version in system description.