diff options
Diffstat (limited to 'ci/config_tpl/maas_tpl')
-rw-r--r-- | ci/config_tpl/maas_tpl/maas-nodes.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ci/config_tpl/maas_tpl/maas-nodes.yaml b/ci/config_tpl/maas_tpl/maas-nodes.yaml index 4b5a0ce0..dc341851 100644 --- a/ci/config_tpl/maas_tpl/maas-nodes.yaml +++ b/ci/config_tpl/maas_tpl/maas-nodes.yaml @@ -1,13 +1,13 @@ {% for node in lab.racks[0].nodes %} -{% if node.architecture=='x86_64' %} - - architecture: amd64/generic -{% endif %} - interfaces: + - interfaces: {% for nic in node.nics %} - mac_address: {{ nic.mac[0] }} mode: auto name: {{ nic.ifname }} {% endfor %} +{% if node.architecture=='x86_64' %} + architecture: amd64/generic +{% endif %} mac_addresses: {% for nic in node.nics %} - {{ nic.mac[0] }} |