diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-04-01 22:31:52 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-04-01 22:31:52 +0200 |
commit | 053192098a73d454199b4a73cc9de0eb90fd73c6 (patch) | |
tree | 829a31cb7b82ef7e20ddc06c86050aed6d415e83 /roles/raspios/image/templates/firstrun.sh.j2 | |
parent | mpv-headless: add simple ssh control interface (diff) |
ele-companion-raspi: move to lan (mixer vlan is now tagged)
Diffstat (limited to 'roles/raspios/image/templates/firstrun.sh.j2')
-rw-r--r-- | roles/raspios/image/templates/firstrun.sh.j2 | 2 |
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 }} |