aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2017-10-08 12:42:18 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2017-10-08 12:42:18 +0200
commitf8423646f0b49767894861416f81860e3d0c13bd (patch)
treee7e9acfdb52dc25a96965ef08c96f7d1038d028b /modules
parent4aa9e5f6b0c11f5e9e6bd762b1a9c1bb64ce41ad (diff)
downloadPuppet-f8423646f0b49767894861416f81860e3d0c13bd.tar.gz
Puppet-f8423646f0b49767894861416f81860e3d0c13bd.tar.zst
Puppet-f8423646f0b49767894861416f81860e3d0c13bd.zip
Fix network file for ipv6
Diffstat (limited to 'modules')
-rw-r--r--modules/base_installation/templates/services/en-dhcp.network.erb9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/base_installation/templates/services/en-dhcp.network.erb b/modules/base_installation/templates/services/en-dhcp.network.erb
index 4f55582..0255595 100644
--- a/modules/base_installation/templates/services/en-dhcp.network.erb
+++ b/modules/base_installation/templates/services/en-dhcp.network.erb
@@ -5,9 +5,14 @@ Name=en*
5DHCP=ipv4 5DHCP=ipv4
6 6
7<%- unless @ip6.empty? -%> 7<%- unless @ip6.empty? -%>
8Address=<%= @ip6["ipAddress"] %>/<%= @ip6["mask"] %>
9Gateway=<%= @ip6["gateway"] %> 8Gateway=<%= @ip6["gateway"] %>
10<%- end -%>
11 9
10[Address]
11Address=<%= @ip6["ipAddress"] %>/<%= @ip6["mask"] %>
12
13[Route]
14Destination=<%= @ip6["gateway"] %>
15
16<%- end -%>
12[DHCP] 17[DHCP]
13UseMTU=true 18UseMTU=true