From f8423646f0b49767894861416f81860e3d0c13bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 8 Oct 2017 12:42:18 +0200 Subject: Fix network file for ipv6 --- modules/base_installation/templates/services/en-dhcp.network.erb | 9 +++++++-- 1 file 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* 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 -- cgit v1.2.3