Fix installing vm's without passthrough devices
This commit is contained in:
parent
ff4e0b32e8
commit
2a2d8bcccd
1 changed files with 4 additions and 2 deletions
|
@ -35,9 +35,11 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
virt_install_passthrough: >-
|
virt_install_passthrough: >-
|
||||||
{% for item in passthrough_devices %}
|
{% if passthrough_devices is defined %}
|
||||||
|
{% for item in passthrough_devices %}
|
||||||
--hostdev {{ item }}
|
--hostdev {{ item }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue