]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Fix network file for ipv6
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 8 Oct 2017 10:42:18 +0000 (12:42 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 8 Oct 2017 10:42:18 +0000 (12:42 +0200)
modules/base_installation/templates/services/en-dhcp.network.erb

index 4f55582460788842738256d7b760ce4e05ebd20c..025559529bc45558ac204427b44cc2d95b41ec7a 100644 (file)
@@ -5,9 +5,14 @@ Name=en*
 DHCP=ipv4
 
 <%- unless @ip6.empty? -%>
-Address=<%= @ip6["ipAddress"] %>/<%= @ip6["mask"] %>
 Gateway=<%= @ip6["gateway"] %>
-<%- end -%>
 
+[Address]
+Address=<%= @ip6["ipAddress"] %>/<%= @ip6["mask"] %>
+
+[Route]
+Destination=<%= @ip6["gateway"] %>
+
+<%- end -%>
 [DHCP]
 UseMTU=true