Re: Overriding qemu.conf libvirt-qemu user per-domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux