network: Move options in OpenBSD to top of /etc/hostname.if so device can be created before using it, etc.
This commit is contained in:
parent
5c77e2fda6
commit
36eb38017e
1 changed files with 3 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
||||||
|
<%= @options.join("\n") %>
|
||||||
<% if @proto == 'dhcp' -%>
|
<% if @proto == 'dhcp' -%>
|
||||||
dhcp NONE NONE NONE<% @options.each do |val| %> <%= val %><% end %>
|
dhcp NONE NONE NONE
|
||||||
<% elsif @proto == 'none' -%>
|
<% elsif @proto == 'none' -%>
|
||||||
up
|
up
|
||||||
<% else -%>
|
<% else -%>
|
||||||
inet <%= @ipaddr %> <%= @netmask %> NONE<% @options.each do |val| %> <%= val %><% end %>
|
inet <%= @ipaddr %> <%= @netmask %> NONE
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<% if @ip6addr == 'auto' -%>
|
<% if @ip6addr == 'auto' -%>
|
||||||
rtsol
|
rtsol
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue