fix: configurable OVMF/machine type, routes syntax, package lists, interface names
This commit is contained in:
@@ -13,7 +13,9 @@ network:
|
||||
addresses:
|
||||
- "{{ iface.ip }}/{{ iface.prefix }}"
|
||||
{% if iface.gateway | default('') | string | length %}
|
||||
gateway4: "{{ iface.gateway }}"
|
||||
routes:
|
||||
- to: default
|
||||
via: "{{ iface.gateway }}"
|
||||
{% endif %}
|
||||
{% else %}
|
||||
dhcp4: true
|
||||
|
||||
Reference in New Issue
Block a user