summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2014-09-10vyatta-cfg-system: expand 'set system allow-dhcp-nameservers' logicAlex Harpin
Expand the logic in 'set system allow-dhcp-nameservers', so that in addition to either allowing / denying DHCP related updates to resolv.conf when the interface changes state, it will also either add or remove the currently supplied DHCP name-servers depending on it's state. This change in name-servers will take place immediately on commit. Bug #309 http://bugzilla.vyos.net/show_bug.cgi?id=309
2014-09-10vyatta-cfg-system: formatting changes for style consistencyAlex Harpin
Update scripts/vyatta-system-nameservers to have consistent identation levels and style throughout.
2014-09-10Remove gre-multipoint encapsulation option, make the tunnel multipoint if ↵Kim Hagen
'remote-ip' is nowt set.
2014-09-09vyatta-cfg-system: add 'set system allow-dhcp-nameservers' optionAlex Harpin
Instead of simply allowing / denying DHCP related updates to resolv.conf based on the current values of 'set system name-server', as initially proposed for Bug #182 (http://bugzilla.vyos.net/show_bug.cgi?id=182), this patch replaces that behaviour with a global option to allow / deny these updates. Add 'set system allow-dhcp-nameservers' as a boolean value that has the default value of true, so allowing DHCP nameserver updates by default. Bug #308 http://bugzilla.vyos.net/show_bug.cgi?id=308
2014-09-09vyatta-cfg-system: revert bb71cf5b7b3a48812e28dbefba8c535f9bbf9973Alex Harpin
Reverting commit bb71cf5b7b3a48812e28dbefba8c535f9bbf9973 as it breaks the logic in vyatta_update_resolv.pl for removing name servers when called by dhclient-script. As it stands, the commit causes name server entries to be left behind in resolv.conf when a DHCP interface is deleted, resulting in possibly old or invalid entries remaining indefinitely. Bug #307 http://bugzilla.vyos.net/show_bug.cgi?id=307
2014-09-09vyatta-cfg-system: formatting changes for style consistencyAlex Harpin
Update scripts/system/vyatta_update_resolv.pl to have consistent identation levels and style throughout.
2014-09-07vyatta-cfg-system: prevent dhcp updating dns when statically configuredAlex Harpin
When DNS settings are statically configured, prevent DHCP interfaces from appending to resolv.conf with additional name servers. If the system has been configured with a static name server, just use that instead of accepting ISP provided name servers. These can be accepted again by simply deleting the statically configured name servers. Bug #182 http://bugzilla.vyos.net/show_bug.cgi?id=182
2014-09-07vyatta-cfg-system: formatting changes for style consistencyAlex Harpin
Update scripts/system/vyatta_update_resolv.pl to have consistent identation levels and style throughout.
2014-09-07vyatta-cfg-system: allow interfaces with dhcp addresses to be deletedAlex Harpin
Update the checks in scripts/vyatta-address to allow the deletetion of an interface that has a DHCP address. The patch put in place for Bug #259 (http://bugzilla.vyos.net/show_bug.cgi?id=259) checks that an interface exists before preceding with the delete, but this chokes when supplied with the address 'dhcp'. This patch checks if the supplied interface is a DHCP address, before extracting the IP address and then using that address for the check. Bug #305 http://bugzilla.vyos.net/show_bug.cgi?id=305
2014-09-07vyatta-cfg-system: formatting changes for style consistencyAlex Harpin
Update scripts/vyatta-address to have consistent identation levels and style throughout.
2014-09-02vyatta-cfg-system: remove quotes from SysContact and SysLocationAlex Harpin
When the values for SysContact, SysLocation and SysDecr are written to the snmpd.conf file, they are enclosed in backslash escaped quotes. This isn't part of the syntax for snmpd.conf and looks wrong / could break snmp related things, the example snmpd.conf files show these values as unquoted. This patch corrects the output and adds validation for the supplied values, limiting them to a maximum of 255 printable characters (RFC 3418). The documentation also needs amending to take this into account. Bug #261 http://bugzilla.vyos.net/show_bug.cgi?id=261
2014-08-23Always allow gre-multipointUnicronNL
2014-08-03Bug #196: rename "smuxpeer" to "smux-peer" for consistency with other commands.Daniil Baturin
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 #259: do not try to remove addresses that don't exist.Daniil Baturin
2014-07-25Add vyod-intfwatchd for restoring IPv6 addresses after link flaps.Daniil Baturin
As bad as it can be, it seems to sort of work.
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-07-10Fix dnsmasq.conf generation for ignore-hosts-filePaul Gear
The ignore-hosts-file option did not work; because it's a boolean it didn't return any value and was always undefined when the test was done. Using $config->exists() fixes this.
2014-07-10Fix ignore-hosts-file operationPaul Gear
This fixes the following error: Global symbol "$ignore_hosts_file" requires explicit package name at /opt/vyatta/sbin/vyatta-dns-forwarding.pl line 77. Global symbol "$ignore_hosts_file" requires explicit package name at /opt/vyatta/sbin/vyatta-dns-forwarding.pl line 86. Global symbol "$ignore_hosts_file" requires explicit package name at /opt/vyatta/sbin/vyatta-dns-forwarding.pl line 99. Execution of /opt/vyatta/sbin/vyatta-dns-forwarding.pl aborted due to compilation errors.
2014-07-08Bug #255: add an option to ignore hosts file in dnsmasq.Daniil Baturin
2014-06-23Merge pull request #11 from ahaitoute/heliumDaniil Baturin
Bug #195: Added feature to send log message to remote syslog server over UDP or TCP.
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-05-01Added feature to add smuxpeer entries in file /etc/snmp/snmpd.conf.Abdelouahed Haitoute
See VyOS bug 196 for more information about the feature request.
2014-04-29Added feature to send log message to remote syslog server over UDP or TCP.Abdelouahed Haitoute
See VyOS bug 195 for more information about the feature request.
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-24Merge pull request #7 from tea2ka/heliumDaniil Baturin
Correction of a "DHCPv6Client"-related script for use with parameters only SLAAC
2014-03-21collect dhcpv6-optionstea2ka
The "dhcpv6-options" option parameter corrected the bug which is not reflected normally.
2014-03-21using a DNS server with an IPv6 address.tea2ka
It seems that immediately the back of an IPv6 address will not be normally recognized if it is not "\n" when using a DNS server with an IPv6 address.
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-31Merge changes to SNMPv3 templates and scripts from vRouter 5400 trial ISO.Daniil Baturin
Changes are copyright 2013, Vyatta, a Brocade company.
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-03Bug #55: fix user name in password reset script.Daniil Baturin
Also remove a Vyatta occurence.
2013-11-02Replace s/Vyatta/VyOS/ in parition handling installer functionsDaniil Baturin
2013-11-02Remove init-floppy scriptDaniil 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-11-01Replace s/Vyatta/VyOS/ in install-system script.Daniil Baturin