network: Remove unnecessary newline and options from hostname.if.erb
This commit is contained in:
parent
4d5be32073
commit
79c189a4f3
1 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
|||
<%= @options.join("\n")+"\n" unless @options.empty? -%>
|
||||
<% if @proto == 'dhcp' %>
|
||||
dhcp NONE NONE NONE
|
||||
<% if @proto == 'dhcp' -%>
|
||||
dhcp
|
||||
<% elsif @proto == 'none' -%>
|
||||
up
|
||||
<% else -%>
|
||||
inet <%= @ipaddr %> <%= @netmask %> NONE
|
||||
inet <%= @ipaddr %> <%= @netmask %>
|
||||
<% end -%>
|
||||
<% if @ip6addr == 'auto' -%>
|
||||
rtsol
|
||||
|
|
Loading…
Add table
Reference in a new issue