1 |
Ok all, |
2 |
|
3 |
here is what openrc-0.22 is going to do in terms of setting the host |
4 |
name. |
5 |
|
6 |
If /etc/hostname exists, the first word of that file will be used as the |
7 |
host name. |
8 |
Otherwise, if the value is set in /etc/conf.d/hostname it will be used. |
9 |
Otherwise, OpenRC will not touch the hostname. |
10 |
|
11 |
One advantage of this, on Linux, is that you can set your host name in |
12 |
the kernel and this setting will be respected. |
13 |
|
14 |
Also, this means the script by default can run in containers if they |
15 |
allow overriding the hostname inside the container. |
16 |
|
17 |
William |