summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/templates
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-13 14:38:01 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-14 01:31:15 +0200
commit296be49e6918fedb22d1dab040ff9fdf3624c055 (patch)
tree0baf68c324e8340ec5a4d952fee4dbcc12b3670a /roles/bootstrap/templates
parent7b444a5853933496febef4cbaf614f1fa0434cc6 (diff)
Refactor template naming for bootstrap
Diffstat (limited to 'roles/bootstrap/templates')
-rw-r--r--roles/bootstrap/templates/archlinux/archlinux.conf.j2 (renamed from roles/bootstrap/templates/refind_arch.conf.j2)0
-rw-r--r--roles/bootstrap/templates/archlinux/refind-sync-kernel.j24
-rw-r--r--roles/bootstrap/templates/raspberry/raspberry.cmdline.j2 (renamed from roles/bootstrap/templates/raspberry.cmdline.j2)0
-rw-r--r--roles/bootstrap/templates/raspberry/raspberry.config.j2 (renamed from roles/bootstrap/templates/raspberry.config.j2)0
-rw-r--r--roles/bootstrap/templates/refind.conf.j22
-rw-r--r--roles/bootstrap/templates/ubuntu/refind-sync-kernel.j24
-rw-r--r--roles/bootstrap/templates/ubuntu/ubuntu.conf.j2 (renamed from roles/bootstrap/templates/refind_ubuntu.conf.j2)0
7 files changed, 9 insertions, 1 deletions
diff --git a/roles/bootstrap/templates/refind_arch.conf.j2 b/roles/bootstrap/templates/archlinux/archlinux.conf.j2
index 0551cb3..0551cb3 100644
--- a/roles/bootstrap/templates/refind_arch.conf.j2
+++ b/roles/bootstrap/templates/archlinux/archlinux.conf.j2
diff --git a/roles/bootstrap/templates/archlinux/refind-sync-kernel.j2 b/roles/bootstrap/templates/archlinux/refind-sync-kernel.j2
new file mode 100644
index 0000000..c53ed96
--- /dev/null
+++ b/roles/bootstrap/templates/archlinux/refind-sync-kernel.j2
@@ -0,0 +1,4 @@
+#!/bin/sh
+mkdir -p /boot/efi/EFI/arch
+cp /boot/vmlinuz-linux /boot/efi/EFI/arch/
+cp /boot/initramfs-linux.img /boot/efi/EFI/arch/
diff --git a/roles/bootstrap/templates/raspberry.cmdline.j2 b/roles/bootstrap/templates/raspberry/raspberry.cmdline.j2
index 23390c4..23390c4 100644
--- a/roles/bootstrap/templates/raspberry.cmdline.j2
+++ b/roles/bootstrap/templates/raspberry/raspberry.cmdline.j2
diff --git a/roles/bootstrap/templates/raspberry.config.j2 b/roles/bootstrap/templates/raspberry/raspberry.config.j2
index 0faa3df..0faa3df 100644
--- a/roles/bootstrap/templates/raspberry.config.j2
+++ b/roles/bootstrap/templates/raspberry/raspberry.config.j2
diff --git a/roles/bootstrap/templates/refind.conf.j2 b/roles/bootstrap/templates/refind.conf.j2
index 3b15a3d..c12ea1c 100644
--- a/roles/bootstrap/templates/refind.conf.j2
+++ b/roles/bootstrap/templates/refind.conf.j2
@@ -7,4 +7,4 @@ hideui hints
spoof_osx_version 12.7
{% endif %}
include ubuntu.conf
-include arch.conf
+include archlinux.conf
diff --git a/roles/bootstrap/templates/ubuntu/refind-sync-kernel.j2 b/roles/bootstrap/templates/ubuntu/refind-sync-kernel.j2
new file mode 100644
index 0000000..3b72d4e
--- /dev/null
+++ b/roles/bootstrap/templates/ubuntu/refind-sync-kernel.j2
@@ -0,0 +1,4 @@
+#!/bin/sh
+mkdir -p /boot/efi/EFI/ubuntu
+cp /boot/vmlinuz /boot/efi/EFI/ubuntu/
+cp /boot/initrd.img /boot/efi/EFI/ubuntu/
diff --git a/roles/bootstrap/templates/refind_ubuntu.conf.j2 b/roles/bootstrap/templates/ubuntu/ubuntu.conf.j2
index 20d5586..20d5586 100644
--- a/roles/bootstrap/templates/refind_ubuntu.conf.j2
+++ b/roles/bootstrap/templates/ubuntu/ubuntu.conf.j2