summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-05-08 01:12:50 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-05-08 01:14:21 +0200
commit8cf2345b74e793100ec7126a1e98a68f5f14fdbf (patch)
tree83463c978741872e782c1e864611583db0448c7d /roles
parentch-cm4-test: add example config for Cytron CM4 Maker Board (diff)
add raspi5 test host and fix raspios image network config
Diffstat (limited to 'roles')
-rw-r--r--roles/installer/raspios/image/templates/firstrun.sh.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/installer/raspios/image/templates/firstrun.sh.j2 b/roles/installer/raspios/image/templates/firstrun.sh.j2
index bc35b764..318b17dd 100644
--- a/roles/installer/raspios/image/templates/firstrun.sh.j2
+++ b/roles/installer/raspios/image/templates/firstrun.sh.j2
@@ -48,8 +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
+ 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 }}