
20 Dec
2024
20 Dec
'24
6:17 a.m.
On Fri, Dec 20, 2024 at 01:48:48 -0500, Pascal Proulx via Users wrote:
Hello,
How can I override the libvirt-qemu user defined in /etc/libvirt/qemu.conf using a per-domain (virtual machine) override using the domain XML definitions? I can find qemu arg overrides but not this and I may have missed it.
I believe the following XML should do it <seclabel type='static' model='dac' relabel='yes'> <label>user:group</label> <imagelabel>user:group</imagelabel> </seclabel> The <imagelabel> element may not be needed depending on who owns the images and what mode they have. Jirka