Browse Source

Virt disk and net profiles fix

tags/0.4
Ales Komarek 9 years ago
parent
commit
43303c554c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      salt/files/_virt.conf

+ 2
- 0
salt/files/_virt.conf View File

{%- if iface.model is defined %} {%- if iface.model is defined %}
model: {{ iface.model }} model: {{ iface.model }}
{%- endif %} {%- endif %}
{%- endfor %}
{%- endfor %} {%- endfor %}
disk: disk:
{%- for item_name, item in control.get('disk_profile', {}).iteritems() %} {%- for item_name, item in control.get('disk_profile', {}).iteritems() %}
{%- if disk.size is defined %} {%- if disk.size is defined %}
size: {{ disk.size }} size: {{ disk.size }}
{%- endif %} {%- endif %}
{%- endfor %}
{%- endfor %} {%- endfor %}


virt.images: /var/lib/libvirt/images virt.images: /var/lib/libvirt/images

Loading…
Cancel
Save