[systemd-devel] Extending machine-info to include machine roles
David Timothy Strauss
david at davidstrauss.net
Tue Jul 8 17:14:43 PDT 2014
I don't see much value in choosing a role from a predefined list.
Rarely do machines fit into one single, straightforward role.
It would be more useful to support machine tags/labels/roles that map
to units, especially if that's dynamically configurable using, say,
DHCP(v6). Then, something may be WantedBy=nameserver.role. That would
support both "livestock" deployments with a standardized /usr and
"pet" deployments where admins sign on and may enable roles shipped
with the distribution.
Then again, I don't see how those would be different from shipping
more <unit>.target files and adding some method to dynamically enable
them.
More information about the systemd-devel
mailing list