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 %}
|
||||
|
||||
virt_install_passthrough: >-
|
||||
{% for item in passthrough_devices %}
|
||||
{% if passthrough_devices is defined %}
|
||||
{% for item in passthrough_devices %}
|
||||
--hostdev {{ item }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
tasks:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue