Also, add support for this to machinectl, so that we can enumerate the machines that run inside a container. We must go deeper!
a7893c6 bus: add API call to create bus connection to the system bus of local containers
Makefile.am | 2 +
man/machinectl.xml | 75 ++++++++++-----------
src/libsystemd-bus/bus-container.c | 128 ++++++++++++++++++++++++++++++++++++
src/libsystemd-bus/bus-container.h | 26 ++++++++
src/libsystemd-bus/bus-internal.h | 1 +
src/libsystemd-bus/bus-socket.c | 4 +-
src/libsystemd-bus/bus-socket.h | 2 +
src/libsystemd-bus/sd-bus.c | 109 ++++++++++++++++++++++++++++--
src/machine/machinectl.c | 90 ++++++++++++-------------
src/systemd/sd-bus.h | 1 +
10 files changed, 345 insertions(+), 93 deletions(-)
Upstream: github.com