From 1b9a88da39a7bab0060fc5c6c324aa336568724c Mon Sep 17 00:00:00 2001 From: Petr Šplíchal Date: Nov 05 2020 10:20:47 +0000 Subject: Recommend using login shell in libvirt hints This should be a better/safer option as newgrp causes that all newly created files have this group instead of the default one which can cause another future problems. --- diff --git a/modules/ROOT/pages/tmt.adoc b/modules/ROOT/pages/tmt.adoc index 6ad7cad..5c98e5e 100644 --- a/modules/ROOT/pages/tmt.adoc +++ b/modules/ROOT/pages/tmt.adoc @@ -345,10 +345,13 @@ Make sure libvirtd is running: sudo systemctl start libvirtd Add your user account to the libvirt group. + + sudo usermod -a -G libvirt $USER + You might need to restart your desktop session to get it fully working. +Or at least start a new login shell: - sudo usermod -a -G libvirt $(whoami) - newgrp libvirt + su - $USER Here you can find vm https://kojipkgs.fedoraproject.org/compose/[images for download].