aboutsummaryrefslogtreecommitdiff
path: root/modules/base_installation/templates/services/en-dhcp.network.erb
blob: 025559529bc45558ac204427b44cc2d95b41ec7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Match]
Name=en*

[Network]
DHCP=ipv4

<%- unless @ip6.empty? -%>
Gateway=<%= @ip6["gateway"] %>

[Address]
Address=<%= @ip6["ipAddress"] %>/<%= @ip6["mask"] %>

[Route]
Destination=<%= @ip6["gateway"] %>

<%- end -%>
[DHCP]
UseMTU=true