File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ Role Variables
141141 - ` trust_guest_rx_filters ` : Whether to trust guest receive filters.
142142 This gets mapped to the ` trustGuestRxFilters ` attribute of VM
143143 interfaces. Default is ` libvirt_vm_trust_guest_rx_filters ` .
144+ - ` model ` : The name of the interface model. Eg. ` e1000 ` or ` ne2k_pci ` , if undefined
145+ it defaults to ` virtio ` .
144146 - ` console_log_enabled ` : if ` true ` , log console output to a file at the
145147 path specified by ` console_log_path ` , ** instead of** to a PTY. If
146148 ` false ` , direct terminal output to a PTY at serial port 0. Default is
Original file line number Diff line number Diff line change 7979 {% endif %}
8080 {# if the network configuration is invalid this can still appear in the xml #}
8181 {# (say you enter 'bond' instead of 'bridge' in your variables) #}
82+ {% if interface .model is defined %}
83+ <model type =' {{ interface.model }}' />
84+ {% else %}
8285 <model type =' virtio' />
86+ {% endif %}
8387 </interface >
8488{% endfor %}
8589{% if console_log_enabled | bool %}
You can’t perform that action at this time.
0 commit comments