003 File Manager
Current Path:
/usr/local/lib/python3.8/site-packages/salt/templates/virt
usr
/
local
/
lib
/
python3.8
/
site-packages
/
salt
/
templates
/
virt
/
📁
..
📄
libvirt_chardevs.jinja
(727 B)
📄
libvirt_disks.jinja
(744 B)
📄
libvirt_domain.jinja
(12.25 KB)
📄
libvirt_macros.jinja
(179 B)
📄
libvirt_network.jinja
(3.09 KB)
📄
libvirt_pool.jinja
(2.6 KB)
📄
libvirt_secret.jinja
(316 B)
📄
libvirt_volume.jinja
(1.11 KB)
Editing: libvirt_disks.jinja
{% macro network_source(disk) -%} <source protocol='{{ disk.protocol }}' name='{{ disk.volume }}'{% if disk.get('query') %} query='{{ disk.query }}'{% endif %}> {%- for host in disk.get('hosts') %} <host name='{{ host.name }}'{% if host.get("port") %} port='{{ host.port }}'{% endif %}/> {%- endfor %} {%- if disk.get("auth") %} <auth username='{{ disk.auth.username }}'> <secret type='{{ disk.auth.type }}' usage='{{ disk.auth.usage}}'/> </auth> {%- endif %} </source> {%- endmacro %}
Upload File
Create Folder