summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/tasks/install-archlinux.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bootstrap/tasks/install-archlinux.yml')
-rw-r--r--roles/bootstrap/tasks/install-archlinux.yml10
1 files changed, 9 insertions, 1 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"