Project

General

Profile

« Previous | Next » 

Revision 48e7c527

Added by Dominic Cleal over 7 years ago

templates - sync from community-templates

View differences:

app/views/unattended/snippets/_kickstart_networking_setup.erb
ONBOOT=yes
PEERDNS=no
PEERROUTES=no
DEFROUTE=no
<% if vlan -%>
VLAN=yes
<% elsif alias_type -%>
......
<% if interface.respond_to?(:primary) && interface.primary -%>
PEERDNS=yes
PEERROUTES=yes
DEFROUTE=yes
<% if !dhcp && subnet.dns_primary.present? -%>
DNS1=<%= subnet.dns_primary %>
<% if subnet.dns_secondary.present? -%>
......
<% else -%>
PEERDNS=no
PEERROUTES=no
DEFROUTE=no
<% end -%>
<% if vlan -%>
VLAN=yes

Also available in: Unified diff