From d7feebad646313559806af07f92189b560098c38 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Tue, 30 Jun 2026 12:32:50 +0200 Subject: Fix rEFInd not starting textonly mode on mac This overrides both files to ensure that the rEFIND starts in textonly mode regardless of the version/order of boot --- roles/bootstrap/tasks/install-ubuntu.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'roles') diff --git a/roles/bootstrap/tasks/install-ubuntu.yml b/roles/bootstrap/tasks/install-ubuntu.yml index 89f351f..9d32543 100644 --- a/roles/bootstrap/tasks/install-ubuntu.yml +++ b/roles/bootstrap/tasks/install-ubuntu.yml @@ -75,8 +75,11 @@ - name: "Configure rEFInd base settings" ansible.builtin.template: src: "refind.conf.j2" - dest: "{{ mnt_boot_path }}/EFI/BOOT/refind.conf" + dest: "{{ item }}" mode: "0644" + loop: + - "{{ mnt_boot_path }}/EFI/BOOT/refind.conf" + - "{{ mnt_boot_path }}/EFI/refind/refind.conf" # NOTE: this is skipped because the docker test doesn't have proper EFI/BOOT directory created tags: ["molecule-notest"] -- cgit v1.2.3