Commit 9c011d6b authored by Simon Delamare's avatar Simon Delamare

[generator] Add domain-search option to kavlan dhcp

parent 499f6e02
Pipeline #63967 passed with stages
in 1 minute and 39 seconds
......@@ -44,6 +44,7 @@ refapi['sites'].sort.to_h.each_key do |site|
hardware ethernet <%= interface['mac'].downcase() %>;
option host-name "<%= node_uid %><%= interface['mounted']? "" : "-"+interface_uid %>-kavlan-<%= kavlan_id %>";
option domain-name "<%= site %>.grid5000.fr";
option domain-search "<%= site %>.grid5000.fr", "grid5000.fr";
fixed-address <%= node['kavlan'][interface_uid]["kavlan-#{kavlan_id}"] %>;
<% if kavlan_id > 9 -%>
next-server kadeploy.<%= site %>.grid5000.fr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment