summaryrefslogtreecommitdiff
path: root/roles/raspios/image/templates/firstrun.sh.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/raspios/image/templates/firstrun.sh.j2')
-rw-r--r--roles/raspios/image/templates/firstrun.sh.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/raspios/image/templates/firstrun.sh.j2 b/roles/raspios/image/templates/firstrun.sh.j2
index 6dc4980c..93aa3483 100644
--- a/roles/raspios/image/templates/firstrun.sh.j2
+++ b/roles/raspios/image/templates/firstrun.sh.j2
@@ -19,6 +19,7 @@ static ip_address={{ network.primary.address }}
static routers={{ network.primary.gateway }}
static domain_name_servers={{ network.nameservers | join(' ') }}
EOF
+systemctl restart dhcpcd.service
{% endif %}
{% if ansible_port != 22 %}