output: add ethernet address priting support to --mustach

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2019-10-26 21:50:48 +01:00
parent b96c6c14d2
commit 544e7ec0a5
No known key found for this signature in database
GPG key ID: 0D46FEF7E61DBB46
4 changed files with 144 additions and 0 deletions

View file

@ -1,3 +1,6 @@
Ethernets:{{#active_lease}}
macaddress: {{macaddress}} ip: {{ip}}{{/active_lease}}
Subnets:{{#subnets}}
location: {{location}}
range: {{range}}