Ok all,

here is what openrc-0.22 is going to do in terms of setting the host
name.

If /etc/hostname exists, the first word of that file will be used as the
host name.
Otherwise, if the value is set in /etc/conf.d/hostname it will be used.
Otherwise, OpenRC will not touch the hostname.

One advantage of this, on Linux, is that you can set your host name in
the kernel and this setting will be respected.

Also, this means the script by default can run in containers if they
allow overriding the hostname inside the container.

William

Attachment: signature.asc
Description: Digital signature

Reply via email to