diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-05-08 01:12:50 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-05-08 01:14:21 +0200 |
commit | 8cf2345b74e793100ec7126a1e98a68f5f14fdbf (patch) | |
tree | 83463c978741872e782c1e864611583db0448c7d /roles/installer/raspios | |
parent | ch-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/installer/raspios')
-rw-r--r-- | roles/installer/raspios/image/templates/firstrun.sh.j2 | 4 |
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 }} |