Skip to content

Add convenient API to interact with system-hostnamed reusing the DBus proxy

Felipe Borges requested to merge unify-hostnamed-proxy into main

We currently initialize a DBus proxy connection for org.freedesktop.hostname1 in various places of the code base.

These changes introduce CcHostname that encapsulates the DBus proxy setup and provides a simpler way to obtain hostnamed properties such as hostname, chassis type, hardware model, etc...

Merge request reports