fix(profile): qemu: ensure guest addition can shutdown the system.

This commit is contained in:
Alexandre Pujol 2025-03-30 18:32:26 +02:00
parent e73ea12cea
commit 5173d3177c
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC

View file

@ -30,9 +30,11 @@ profile qemu-ga @{exec_path} {
include <abstractions/base> include <abstractions/base>
include <abstractions/app/systemctl> include <abstractions/app/systemctl>
capability net_admin,
unix type=stream addr=@@{udbus}/bus/shutdown/system, unix type=stream addr=@@{udbus}/bus/shutdown/system,
#aa-dbus talk bus=system name=org.freedesktop.login1 label=systemd-logind #aa:dbus talk bus=system name=org.freedesktop.login1 label=systemd-logind
include if exists <local/qemu-ga_systemctl> include if exists <local/qemu-ga_systemctl>
} }