aboutsummaryrefslogtreecommitdiff
path: root/templates/host.conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/host.conf.erb')
-rw-r--r--templates/host.conf.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/host.conf.erb b/templates/host.conf.erb
new file mode 100644
index 0000000..2cdb4af
--- /dev/null
+++ b/templates/host.conf.erb
@@ -0,0 +1,8 @@
+host <%=name%> {
+ hardware ethernet <%=mac%>;
+<% if fixed_address -%>
+ fixed-address <%=fixed_address%>;
+<% else -%>
+ fixed-address <%=name%>;
+<% end -%>
+}