From f4e65d26183b1133d919c415fec349f52fb4385f Mon Sep 17 00:00:00 2001
From: Trygve Laugstøl <trygvis@inamo.no>
Date: Sun, 29 Sep 2024 23:33:59 +0200
Subject: lhn2pi

---
 ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'ansible/plays/templates/lhn2pi/systemd')

diff --git a/ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network b/ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network
index f17b3f9..853556d 100644
--- a/ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network
+++ b/ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network
@@ -5,3 +5,7 @@ Name=eth0
 DHCP=ipv4
 Address={{ ipam6.networks.lhn2_dn42.hosts.lhn2pi }}
 # IPv6Forwarding=yes # needs newer systemd
+
+# Disables the automatic activation of DHCPv6 from RA packets
+[IPv6AcceptRA]
+DHCPv6Client=no
-- 
cgit v1.2.3