summaryrefslogtreecommitdiff
path: root/roles/installer/raspios/image
diff options
context:
space:
mode:
Diffstat (limited to 'roles/installer/raspios/image')
-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 }}