diff options
author | Christian Breunig <christian@breunig.cc> | 2023-05-10 21:15:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-10 21:15:28 +0200 |
commit | 7ccd7b4ab990c5501069af7af5d6929abf5b4f11 (patch) | |
tree | b6f7717a71aecb27057b7ea1a273c359c49ad5b1 /data/templates | |
parent | 5518738952cda46cff5c8bda7dd896871691b001 (diff) | |
parent | 748199b10df112cba0821703001c0307e325bd90 (diff) | |
download | vyos-1x-7ccd7b4ab990c5501069af7af5d6929abf5b4f11.tar.gz vyos-1x-7ccd7b4ab990c5501069af7af5d6929abf5b4f11.zip |
Merge pull request #1979 from zdc/T5190-equuleus
cloud-init: T5190: Added Cloud-init pre-configurator
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 %} |