Add support for host passthrough devices
This commit is contained in:
parent
fd2ee25f29
commit
bceca425b2
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,11 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
virt_install_passthrough: >-
|
||||||
|
{% for item in passthrough_devices %}
|
||||||
|
--hostdev {{ item }}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: get vm list
|
- name: get vm list
|
||||||
|
@ -94,6 +99,7 @@
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{{ virt_install_disks }} \
|
{{ virt_install_disks }} \
|
||||||
|
{{ virt_install_passthrough }} \
|
||||||
{{ virt_install_network }} \
|
{{ virt_install_network }} \
|
||||||
{{ virt_install_os_args }}
|
{{ virt_install_os_args }}
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue