summaryrefslogtreecommitdiff
path: root/roles/raspios/image
diff options
context:
space:
mode:
Diffstat (limited to 'roles/raspios/image')
-rw-r--r--roles/raspios/image/defaults/main.yml2
-rw-r--r--roles/raspios/image/templates/firstrun.sh.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/raspios/image/defaults/main.yml b/roles/raspios/image/defaults/main.yml
index dc9a25d0..3f6ab3a3 100644
--- a/roles/raspios/image/defaults/main.yml
+++ b/roles/raspios/image/defaults/main.yml
@@ -6,7 +6,7 @@ raspios_download_dir: "{{ global_cache_dir }}/raspios"
raspios_output_dir: "{{ global_artifacts_dir }}/{{ inventory_hostname }}/raspios"
-raspios_keep_boot_dir_mounted: False
+raspios_keep_boot_dir_mounted: no
# raspios_boot_config:
# - regexp: '^#dtparam=i2c_vc'
diff --git a/roles/raspios/image/templates/firstrun.sh.j2 b/roles/raspios/image/templates/firstrun.sh.j2
index a109617b..3166b974 100644
--- a/roles/raspios/image/templates/firstrun.sh.j2
+++ b/roles/raspios/image/templates/firstrun.sh.j2
@@ -8,7 +8,7 @@ raspi-config nonint do_change_timezone "{{ raspios_timezone }}"
raspi-config nonint do_configure_keyboard "{{ raspios_keyboard_layout }}"
{# 0 -> predictable interface names, 1 -> legacy (eth0...) #}
-raspi-config nonint do_net_names 0
+raspi-config nonint do_net_names 1
{% if not (install_dhcp | default(false)) %}
cat <<EOF >> /etc/dhcpcd.conf