[virt-tools-list] [virt-manager PATCH] virt-install: add support for user namespace

Cole Robinson crobinso at redhat.com
Sun Feb 9 14:19:42 UTC 2014


On 02/09/2014 09:13 AM, Chen Hanxiao wrote:
> 
> 
> On 02/09/2014 09:56 PM, Cole Robinson wrote:
>> On 02/08/2014 12:16 PM, Chen Hanxiao wrote:
>>> From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
>>>
>>> This patch will enable configuring user namespace
>>> for LXC containers, etc.
>>>
>>
>> Some comments below
>>
>>> Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
>>> ---
> 
>>>
>>>   Use --boot=? to see a list of all available sub options. Complete details
>>> at L<http://libvirt.org/formatdomain.html#elementsOS>
>>>
>>> +=item --userns=USERNSOPTS
>>> +
>>
>> I'd prefer to have this option just map to the libvirt XML name. So --idmap,
>> uid_* and gid_*. Same with the UserNamespace object and its members.
>>
> 
> how about:
> 
> --idmap uid_start=0,uid_target=1000,uid_count=10,XXXX
> 
> And I'll rename userns.py to idmap, also with its members.
> 
> v2 will come soon.
> 

Yup, that's good.

- Cole




More information about the virt-tools-list mailing list