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
141
141
- ` trust_guest_rx_filters ` : Whether to trust guest receive filters.
142
142
This gets mapped to the ` trustGuestRxFilters ` attribute of VM
143
143
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 ` .
144
146
- ` console_log_enabled ` : if ` true ` , log console output to a file at the
145
147
path specified by ` console_log_path ` , ** instead of** to a PTY. If
146
148
` false ` , direct terminal output to a PTY at serial port 0. Default is
Original file line number Diff line number Diff line change 79
79
{% endif %}
80
80
{# if the network configuration is invalid this can still appear in the xml #}
81
81
{# (say you enter 'bond' instead of 'bridge' in your variables) #}
82
+ {% if interface .model is defined %}
83
+ <model type =' {{ interface.model }}' />
84
+ {% else %}
82
85
<model type =' virtio' />
86
+ {% endif %}
83
87
</interface >
84
88
{% endfor %}
85
89
{% if console_log_enabled | bool %}
You can’t perform that action at this time.
0 commit comments