diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-09-21 22:17:54 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-09-21 22:17:54 +0200 |
| commit | 8929640bc8aa84325315f734ba1e75cb9c44892f (patch) | |
| tree | 11bd35da370e0e5168a7fc644ed801bc2aafb09f | |
| parent | fd1b383b1b93ae556387fb5a846eb6e6f1ac3404 (diff) | |
Fix the rEFInd timeout and styling
| -rw-r--r-- | roles/bootstrap/tasks/install-archlinux.yml | 10 | ||||
| -rw-r--r-- | roles/bootstrap/tasks/install-ubuntu.yml | 10 | ||||
| -rw-r--r-- | roles/bootstrap/vars/ubuntu.yml | 2 |
3 files changed, 18 insertions, 4 deletions
diff --git a/roles/bootstrap/tasks/install-archlinux.yml b/roles/bootstrap/tasks/install-archlinux.yml index 8807687..1b304ce 100644 --- a/roles/bootstrap/tasks/install-archlinux.yml +++ b/roles/bootstrap/tasks/install-archlinux.yml @@ -19,7 +19,7 @@ cmd: "arch-chroot {{ mnt_root_path }} refind-install" changed_when: true -- name: "Configure rEFInd" +- name: "Configure rEFInd boot options" ansible.builtin.copy: dest: "{{ mnt_root_path }}/boot/refind_linux.conf" mode: "0644" @@ -27,6 +27,14 @@ "Boot with defaults" "root=PARTLABEL={{ partition_root.name }} rw" "Boot to terminal" "root=PARTLABEL={{ partition_root.name }} rw systemd.unit=multi-user.target" +- name: "Configure rEFInd settings" + ansible.builtin.copy: + dest: "{{ mnt_boot_path }}/EFI/refind/refind.conf" + mode: "0644" + content: | + timeout 5 + textonly true + - name: "Configure pacman hook for rEFInd kernel updates" ansible.builtin.copy: dest: "{{ mnt_root_path }}/etc/pacman.d/100-refind.hook" diff --git a/roles/bootstrap/tasks/install-ubuntu.yml b/roles/bootstrap/tasks/install-ubuntu.yml index c5b57ce..bcdebdb 100644 --- a/roles/bootstrap/tasks/install-ubuntu.yml +++ b/roles/bootstrap/tasks/install-ubuntu.yml @@ -54,10 +54,18 @@ cmd: "arch-chroot {{ mnt_root_path }} refind-install" changed_when: true -- name: "Configure rEFInd" +- name: "Configure rEFInd boot options" ansible.builtin.copy: dest: "{{ mnt_root_path }}/boot/refind_linux.conf" mode: "0644" content: | "Boot with defaults" "root=PARTLABEL={{ partition_root.name }} rw" "Boot to terminal" "root=PARTLABEL={{ partition_root.name }} rw systemd.unit=multi-user.target" + +- name: "Configure rEFInd settings" + ansible.builtin.copy: + dest: "{{ mnt_boot_path }}/EFI/refind/refind.conf" + mode: "0644" + content: | + timeout 5 + textonly true diff --git a/roles/bootstrap/vars/ubuntu.yml b/roles/bootstrap/vars/ubuntu.yml index d47f391..3c9f322 100644 --- a/roles/bootstrap/vars/ubuntu.yml +++ b/roles/bootstrap/vars/ubuntu.yml @@ -4,8 +4,6 @@ bootstrap_distro: mirror_url: "http://archive.ubuntu.com/ubuntu/" packages: - "linux-generic-hwe-24.04" - - "systemd-boot" - - "systemd-boot-efi" bootstrap_opts: "" |
