![Antony Messerli](/assets/img/avatar_default.png)
Adds support for iPXE scripting. Allows for the operator to specify a remote iPXE kernel to pull in newer iPXE kernel features and specify a remote default iPXE script for customizing the multi node for other types of deployments. Switches the installations to use netboot installer kernels instead of ISO retrival and extraction. Restructures directory to allow for future multi node configs instead of just debian based installs. Change-Id: Ie97f021dbd33ad3d852132b0b2850f54d4e13476
32 lines
849 B
Django/Jinja
32 lines
849 B
Django/Jinja
# Physical interface, could be bond. This only needs to be set once
|
|
{% for key, value in mnaio_host_networks.items() %}
|
|
{% if value.iface_port != 'none' %}
|
|
auto {{ value.iface_port }}
|
|
iface {{ value.iface_port }} inet manual
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% for key, value in mnaio_host_networks.items() %}
|
|
auto {{ value.iface }}
|
|
iface {{ value.iface }} inet {{ value.inet_type }}
|
|
bridge_stp off
|
|
bridge_waitport {{ value.iface_port == 'none' | ternary('0', '10') }}
|
|
bridge_fd 0
|
|
bridge_ports {{ value.iface_port }}
|
|
offload-sg off
|
|
{% if value.address is defined %}
|
|
address {{ value.address }}
|
|
{% endif %}
|
|
|
|
{% if value.address_aliases is defined %}
|
|
{% for addr in value.address_aliases %}
|
|
auto {{ value.iface }}
|
|
iface {{ value.iface }} inet static
|
|
address {{ addr }}
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|