[systemd-devel] Extending os-release

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Mon Jul 7 13:38:28 PDT 2014


On Mon, Jul 07, 2014 at 08:02:19PM +0000, "Jóhann B. Guðmundsson" wrote:
> 
> On 07/07/2014 08:00 PM, Tom Gundersen wrote:
> >On Mon, Jul 7, 2014 at 9:44 PM, Mantas Mikulėnas <grawity at gmail.com> wrote:
> >>Sounds like a better fit for /etc/machine-info, as it's really not a distro
> >>thing.
> >Yeah, this sort of info should probably not go in /etc/os-release (we
> >are moving that to /usr/lib/os-release, which should make it clearer
> >that this is really static info given by the distro, rather than
> >config stuff for the admin).
> 
> Right it's an better fit there and accommodates "chassis=" nicely as in...|
> 
> CHASSIS=server
> Environment=Production||||
s/Environment/ENVIRONMENT/

I'd like to see ANSI_COLOR in machine-info too. Maybe systemd (or something
else) could generate one randomly when populating machine-info. Then
a suitable shell prompt could use that.

Zbyszek


More information about the systemd-devel mailing list