[virt-tools-list] [virt-install PATCH] Support multiple seclabels

Michal Privoznik mprivozn at redhat.com
Tue Nov 6 09:50:37 UTC 2012


On 02.11.2012 23:55, Martin Kletzander wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=832339
> 
> Until now, virt-install supported only one seclabel and it was the
> first one libvirt reported in capabilities.  This patch adds support
> for more of them and also adds a functionality to try to match the
> right one from the label given.  This is done by checking how many
> colons the label has (precisely said, to how many parts it is split
> by the colons).
> ---
>  tests/capabilities.py          |  4 ++--
>  virtinst/CapabilitiesParser.py |  6 +++---
>  virtinst/Seclabel.py           | 33 +++++++++++++++++++++++++++++----
>  virtinst/VirtualDisk.py        |  8 ++------
>  4 files changed, 36 insertions(+), 15 deletions(-)

Makes sense to me. ACK. However I lack commit rights so someone please
push this.

Michal




More information about the virt-tools-list mailing list