mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-29 20:11:16 +00:00
Gluster volumes don't start with a leading slash. Our schema for netfs gluster pools enforces it though. Luckily mount.glusterfs skips it. Allow a slashless volume name for glusterfs netfs mounts in the schema. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1101999
13 lines
272 B
XML
13 lines
272 B
XML
<pool type='netfs'>
|
|
<source>
|
|
<host name='example.com'/>
|
|
<format type='glusterfs'/>
|
|
<dir path='volume'/>
|
|
</source>
|
|
<name>netfs-gluster</name>
|
|
<uuid>d5609ced-94b1-489e-b218-eff35c30336a</uuid>
|
|
<target>
|
|
<path>/mnt/gluster</path>
|
|
</target>
|
|
</pool>
|