summaryrefslogtreecommitdiff
path: root/data/templates/system/cloud_init_networking.j2
blob: 52cce72f8f975b6ec95599749586b3d6df0a6d3d (plain)
1
2
3
4
5
6
7
8
9
network:
  version: 2
  ethernets:
{% for iface in ifaces_list %}
    {{ iface['name'] }}:
      dhcp4: true
      match:
        macaddress: "{{ iface['mac'] }}"
{% endfor %}