godbus/dbus

Where is the documentation?

space2pacman opened this issue · 1 comments

I have a command to get hostname. How do I do this in go dbus?

busctl get-property xyz.openbmc_project.Network /xyz/openbmc_project/network/config xyz.openbmc_project.Network.SystemConfiguration HostName

change
dbus.ConnectSessionBus()
to
dbus.ConnectSystemBus()