]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
schema: domain: Allow space in XML schema for bridge source
authorPeter Krempa <pkrempa@redhat.com>
Wed, 7 Oct 2020 16:59:50 +0000 (18:59 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 20 Oct 2020 07:05:10 +0000 (09:05 +0200)
vmware's network names can contain space and they are used as bridge
source. Modify the schema to allow it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/schemas/domaincommon.rng

index 41803c8f998284cb911a69074b0de378b9335808..c25a742581da531c5162f2a451cf046e62f9cac1 100644 (file)
 
   <define name="interface-bridge-attributes">
     <attribute name="bridge">
-      <ref name="deviceName"/>
+      <data type="string">
+        <param name="pattern">[a-zA-Z0-9_\.\-\\:/ ]*</param>
+      </data>
     </attribute>
     <optional>
       <attribute name="macTableManager">