diff options
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/system/cloud_init_networking.tmpl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/data/templates/system/cloud_init_networking.tmpl b/data/templates/system/cloud_init_networking.tmpl new file mode 100644 index 000000000..52cce72f8 --- /dev/null +++ b/data/templates/system/cloud_init_networking.tmpl @@ -0,0 +1,9 @@ +network: + version: 2 + ethernets: +{% for iface in ifaces_list %} + {{ iface['name'] }}: + dhcp4: true + match: + macaddress: "{{ iface['mac'] }}" +{% endfor %} |