summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-04-01 22:31:52 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-04-01 22:31:52 +0200
commit053192098a73d454199b4a73cc9de0eb90fd73c6 (patch)
tree829a31cb7b82ef7e20ddc06c86050aed6d415e83 /roles
parentmpv-headless: add simple ssh control interface (diff)
ele-companion-raspi: move to lan (mixer vlan is now tagged)
Diffstat (limited to 'roles')
-rw-r--r--roles/raspios/image/templates/firstrun.sh.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/raspios/image/templates/firstrun.sh.j2 b/roles/raspios/image/templates/firstrun.sh.j2
index 4d3978c8..bc35b764 100644
--- a/roles/raspios/image/templates/firstrun.sh.j2
+++ b/roles/raspios/image/templates/firstrun.sh.j2
@@ -48,6 +48,8 @@ auto {{ network.primary.name }}
iface {{ network.primary.name }} inet dhcp
{% else %}
iface {{ network.primary.name }} inet static
+ up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
+ up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf
address {{ network.primary.address | ansible.utils.ipaddr('address') }}
netmask {{ network.primary.address | ansible.utils.ipaddr('netmask') }}
gateway {{ network.primary.gateway }}