Univention Bugzilla – Bug 33743
UCRV interfaces/*/hosts undocumented
Last modified: 2021-05-25 15:58:58 CEST
$ grep interfaces/.*/hosts /etc/univention/registry.info/variables/* $ cat /etc/univention/templates/files/etc/hosts.d/00-base ... # Add IPv4 and IPv6 addresses of interfaces # May be overridden by .../hosts ... default_hosts = '%(hostname)s.%(domainname)s %(hostname)s' % configRegistry ... key = 'interfaces/%s/hosts' % (iface,) hosts = configRegistry.get(key, default_hosts) if hosts: entries.append((iface, None, '%s\t%s' % (value, hosts))) ... key = 'interfaces/%s/ipv6/%s/hosts' % (iface, name) cat >>/etc/univention/registry.info/variables/univention-base-files.cfg [interfaces/.*/hosts] Description[de]=Überschreibt die Namen, die mit der IP-Adresse des Netzwerkinterfaces assoziiert werden. Standardmäßig wir der Hostname und der FQDN benutzt. Description[en]=Overwrite the names associated with the IP address of the network interface in /etc/hosts. By default the host-name and the FQDN are used. Type=str Categories=system-network
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
[feature/ucs5] 7de281e3cd Bug #33743 base: Document UCRV interfaces/.*/hosts base/univention-base-files/debian/changelog | 6 ++++++ .../univention-base-files.univention-config-registry-variables | 6 ++++++ doc/changelog/changelog-5.0-0.xml | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-)
OK (with a small fixup commit) OK: changelog entry
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".