feat(network): make interfaces[] canonical, normalize flat fields as AWX compat
This commit is contained in:
@@ -10,7 +10,11 @@ disk = [
|
||||
'{{ boot_iso }},,hdc,cdrom'{% if rhel_iso is defined and rhel_iso | length > 0 %}, '{{ rhel_iso }},,hdd,cdrom'{% endif %}
|
||||
{%- endif -%}
|
||||
]
|
||||
vif = [ 'bridge={{ system_cfg.network.bridge }},model=e1000' ]
|
||||
vif = [
|
||||
{%- for iface in system_cfg.network.interfaces -%}
|
||||
'bridge={{ iface.bridge }},model=e1000'{% if not loop.last %}, {% endif %}
|
||||
{%- endfor -%}
|
||||
]
|
||||
boot = "{{ 'dc' if xen_installer_media_enabled | bool else 'c' }}"
|
||||
on_crash = "preserve"
|
||||
on_poweroff = "destroy"
|
||||
|
||||
Reference in New Issue
Block a user