summaryrefslogtreecommitdiff
path: root/src/conf_mode/host_name.py
AgeCommit message (Collapse)Author
2020-06-11host_name: T2486: change internal 'static-host-mapping' representationJernej Jakob
Change internal representation to the one required by vyos-hostsd.
2020-05-29airbag: T2088: explicit enabling of the featureThomas Mangin
airbag must now be explicitly installed. the patch also allow to fully disables the installation of the logging code at setup (and not just installing and doing nothing)
2020-04-21dns-forwarding: T2298: verify pdns path is existsChristian Poessinger
2020-04-15dns-forwarding: T2298: remove wrongly added numberChristian Poessinger
Commit 16b2fc8 ("dns-forwarding: T2298: fix path to control file") added a wrong prefix to the line before executing 'systemctl restart snmpd.service'.
2020-04-15dns-forwarding: T2298: fix path to control fileChristian Poessinger
After migrating PowerDNS to systemd and also its configuration files to a volatile directory in commit 77d725f ("dns-forwarding: T2185: move configuration files to volatile /run directory") the path for the control file has not been altered and pushed to the client rec_control binary"
2020-04-13dns-forwarding: T2185: migrate from SysVinit to systemdChristian Poessinger
2020-04-09util: T2226: os.system was wrongly converted to runThomas Mangin
os.system does print the ouput of the command, run() does not. A new function called call() does the printing and return the error code.
2020-04-06util: T2226: rewrite system host-name to use cmdThomas Mangin
Previously any failure to set the hostname would have been ignored. Part of the convertion, if the change fail, the commit will fail too.
2019-11-17dns: T1786: add proper processing of 'system disable-dhcp-nameservers'zdc
2019-08-21T1598: redo host_name.py to use vyos-hostsd.Daniil Baturin
2019-08-13[hostname] T1531: Added hostname alias to 127.0.1.1 (Debian way)zsdc
This change makes "dnsdomainname" and "hostname -f" operable
2019-07-16T1531: do not include the domain name in system hostname.Daniil Baturin
2019-07-12Do not try to verify the hostname config if the script is run by cloud-init.Daniil Baturin
2019-07-09T1497: remove duplicate name servers and search domains obtained from DHCP.Daniil Baturin
2019-07-03T1497: make host_name.py wait for commit lock too.Daniil Baturin
2019-07-03T1497: remove the no longer necessary workaround for bad ↵Daniil Baturin
return_effective_values output.
2019-07-02T1497: "set system name-server" generates invalid/incorrect resolv.confUnicronNL
2019-06-20T1458: Regression in 1.2.1-S2 hostname & loggingKim Hagen
2019-06-18[ config ] T1447: Python subprocess called without import in host_name.pyKim Hagen
2019-06-17[syslog/hostname.py] T1394 - syslog systemd and host_name.py race conditionhagbard
- checking if the hostname has changed, otherwise the script and systemd try to restart rsyslogd at the same time, at the end it's not started at all.
2019-06-04T1379: Deprecated functions in /sbin/dhclient-scriptKim Hagen
2019-04-20[hostname] T1336: sanitize FQDN before passing to hostnamectlChristian Poessinger
Remove possible trialing (.) when invoking hostnamectl. A hostname with a trailing (.) is not supported in hostnamectl.
2019-04-05T1264 - host_name.py improvementshagbard
- checks if a variable exists to avoid setting None on defined defaults
2019-02-22feature: static-host-mapping - made IP address (param inet) mandatoryhagbard
2019-02-22removed a debugger print I forgut during mergehagbard
2019-02-22Fixes: T1262 - dhcp requested WAN ip address doesn't get search parameter in ↵hagbard
/etc/resolv.conf
2019-02-22pdns_recursor check improved, spits out a message for /var/run if it's not ↵hagbard
running.
2019-02-22bugfix: static-mapping-host alias not mandatory, verification adjustedhagbard
2019-02-21Fixes: T1257: implement 'set system static-host-mapping' in host_name.py and ↵hagbard
remove old function calls
2019-02-20T1255: read in modifications from third party scripts before altering /etc/hostsChristian Poessinger
E.g. DHCP server can update /etc/hosts with somw mappings - those mappings were lost on any subsequent invocation of host_name.py
2019-02-20T1255: add newlines for 3rd party script amendmentsChristian Poessinger
2019-02-17hostname: bugfix for overwriting search domainsChristian Poessinger
2019-02-16Add header to resolver configuration fileChristian Poessinger
2019-02-16hostname: additional test case fixesChristian Poessinger
2019-02-14T1174: migrate local hostname/DNS handling to vyos-1xChristian Poessinger
2018-12-31T1128: restart SNMP on hostname change.Daniil Baturin
2018-05-18host-name: Add --static option to hostnamectlYuya Kusakabe
2018-05-17T574: fix setting the hostname on boot.Daniil Baturin
2018-05-17Add tests for hostnameYuya Kusakabe
2018-05-16T644: remove prefixing from all scripts and update environment variables ↵Daniil Baturin
with VyOS paths.