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