summaryrefslogtreecommitdiffstats
path: root/roles/network/templates/wifi-connection.nmconnection.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/network/templates/wifi-connection.nmconnection.j2')
-rw-r--r--roles/network/templates/wifi-connection.nmconnection.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/network/templates/wifi-connection.nmconnection.j2 b/roles/network/templates/wifi-connection.nmconnection.j2
index 3d7667c8..5b4ab185 100644
--- a/roles/network/templates/wifi-connection.nmconnection.j2
+++ b/roles/network/templates/wifi-connection.nmconnection.j2
@@ -28,5 +28,8 @@ method=auto
[ipv6]
addr-gen-mode=default
method=auto
+{% if network_ipv6_gateway is defined %}
+routes=::/0,{{ network_ipv6_gateway }},100
+{% endif %}
[proxy]