[systemd-devel] [PATCH 1/4] Add ENVIRONMENT to hostnamectl
Lennart Poettering
lennart at poettering.net
Tue Jul 8 04:55:49 PDT 2014
On Tue, 08.07.14 13:47, Michael Biebl (mbiebl at gmail.com) wrote:
>
> 2014-07-08 13:40 GMT+02:00 Lennart Poettering <lennart at poettering.net>:
> > I'd go for something generic like "description" or "comment" or so. Or
> > maybe "purpose". I think simply "description" appears to be the best
> > option for me.
> >
> > BTW, something I also wanted to see for a long time, was a "location"
> > field, that can be freely configured by the admin, but is initially
> > filled in from geoip or so. In many setups it's quite relevant to know
> > where a server is located. Depending on the usecase ot could be as
> > generic as "Berlin, Germany" or maybe as specific as "3rd shelf, left
> > cabinet" or so, whatever people need. (Of course, on laptops it makes
> > little sense...)
>
> This information looks like local state, i.e. can't be part of
> /usr/lib/os-release.
Oh, yeah, both Description= and Location= should be saved in
/etc/machine-info, not /usr/lib/os-release.
See machine-info(5).
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list