From 4e96a9abb248290a72a5bcf088ba16c1d6e2ab71 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 11 Aug 2025 00:33:34 +0200 Subject: Minor refactoring to set hostname and fix rpi5 bootstrap --- roles/bootstrap/templates/raspberry.cmdline.j2 | 8 +------- roles/bootstrap/templates/raspberry.config.j2 | 1 + 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'roles/bootstrap/templates') diff --git a/roles/bootstrap/templates/raspberry.cmdline.j2 b/roles/bootstrap/templates/raspberry.cmdline.j2 index 3e47837..23390c4 100644 --- a/roles/bootstrap/templates/raspberry.cmdline.j2 +++ b/roles/bootstrap/templates/raspberry.cmdline.j2 @@ -1,7 +1 @@ -console=serial0,115200 \ -console=tty1 \ -root={{ partition_root.dev }} \ -rootfstype={{ partition_root.fstype }} \ -elevator=deadline \ -fsck.repair=yes \ -rootwait +console=serial0,115200 console=tty1 root={{ partition_root.dev }} rootfstype={{ partition_root.fstype }} elevator=deadline fsck.repair=yes rootwait diff --git a/roles/bootstrap/templates/raspberry.config.j2 b/roles/bootstrap/templates/raspberry.config.j2 index 7f02366..f4c1b40 100644 --- a/roles/bootstrap/templates/raspberry.config.j2 +++ b/roles/bootstrap/templates/raspberry.config.j2 @@ -1,4 +1,5 @@ [pi5] +kernel=kernel_2712.img dtparam=pciex1 dtparam=pciex1_gen=2 -- cgit v1.2.3