Re: Mounting directory as readonly within LXC

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

 



On 20.04.2015 12:58, Harish Vishwanath wrote:
> Hello
> 
> Is there a way to mount a directory as readonly when using LXC with libvirt?
> 
> Something like:
> 
>                 <filesystem type="mount">
>                     <source dir="/sw/py27/python2.7_x86_64"/>
>                     <target dir="/opt//py27"/>
>                     <readonly/>
>                 </filesystem>
> 
> 
> The documentation says readonly only works with KVM/QEMU.

That's a bug in our docs. Going through the code it seems like it should
work on LXC too. Mind trying out and posting a documentation patch?

Michal

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




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

  Powered by Linux