Univention Bugzilla – Bug 38437
Skip IP / MAC / DNS registration while joining a docker container
Last modified: 2015-11-17 12:11:35 CET
By default the docker container shouldn't register its IP or MAC address.
Commit 63333 introduces the "-skipIpMac" command line option to the univention-join script. The created computer object will have no MAC or IP address assigned. The univention-nagios-client package must be removed from the installation image, because the joinscript fails, complaining it cannot be configured without an IP address. Tested with a Samba4-masterDC and: * S4-slave * UCS-slave * UCS-member by launching a fresh VM, logging in after configuring the IP, replacing /usr/sbin/univention-join with the new version, editing it to hard code SKIPIPMAC="true" and uninstalling univention-nagios-client as soon as possible. In all cases the computer object will not have an associated IP or MAC address, but in the cases of slaves, forward and reverse DNS entries will be created. If a slave changes its own IP address without having contact to the master, the DNS forward record will be adjusted on the master the next time the slave can contact it, the reverse record will be left untouched. Replication from master to slave did work after such an IP change. This should be tested more thoroughly.
Commit 63346 removes a bashism.
It looks good. The docker container don't register the IP and MAC address while joining. Please add a changelog entry.
Added to the changelog in r64031.
(In reply to Daniel Tröder from comment #4) > Added to the changelog in r64031. OK
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".