已安装kvm及其相关组件,并且已安装cockpit-machines
但是在Web管理界面无法查看到已存在于系统中的虚拟机设备。
# fix for issue 'machines list is empty'
# https://github.com/cockpit-project/cockpit/issues/13343
sudo usermod -a -G libvirt libvirtdbus
sudo usermod -a -G libvirt libvirt-qemu
# must reboot (or restart the affected systemd services) for changes to take effect