summaryrefslogtreecommitdiff
path: root/roles/installer/raspios
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-06-04 23:42:17 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-06-04 23:42:17 +0200
commit06bfc41a5ce11b42040a4234c938582f1fab320e (patch)
tree2ec5fe23e23540a9decbebc7adbde7699396a9c4 /roles/installer/raspios
parentmake base url for some repos configurable (diff)
install coredns to ch-iot
Diffstat (limited to 'roles/installer/raspios')
-rw-r--r--roles/installer/raspios/image/templates/firstrun.sh.j23
1 files changed, 0 insertions, 3 deletions
diff --git a/roles/installer/raspios/image/templates/firstrun.sh.j2 b/roles/installer/raspios/image/templates/firstrun.sh.j2
index 05f9639d..ef90cf8b 100644
--- a/roles/installer/raspios/image/templates/firstrun.sh.j2
+++ b/roles/installer/raspios/image/templates/firstrun.sh.j2
@@ -88,9 +88,6 @@ systemctl disable wpa_supplicant.service
rfkill unblock wlan
ifup {{ network.primary.name }}
{% endif %}
-{% for host in (network.static_hostnames | default([])) %}
-echo "{{ host.address }} {{ host.names | join(' ') }}" >> /etc/hosts
-{% endfor %}
{% if ansible_port != 22 %}
sed -e 's/^\s*#*\s*Port\s\s*[0-9][0-9]*$/Port {{ ansible_port }}/' -i /etc/ssh/sshd_config