summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/tasks/install-archlinux.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-02-27 01:19:36 +0100
committerAhmed Abdelhalim <[email protected]>2026-02-27 01:19:36 +0100
commitb939d370f2720f761ac7c6dfe0041ebfd64c1b79 (patch)
tree30dedc5a8da97d826969369e5b7ada12bf667c90 /roles/bootstrap/tasks/install-archlinux.yml
parenta0d80d2f27c868dbf5cbfa054bc3190fe4a83666 (diff)
Add boot args that allow gpu and other mac locked features on linux
Diffstat (limited to 'roles/bootstrap/tasks/install-archlinux.yml')
-rw-r--r--roles/bootstrap/tasks/install-archlinux.yml18
1 files changed, 7 insertions, 11 deletions
diff --git a/roles/bootstrap/tasks/install-archlinux.yml b/roles/bootstrap/tasks/install-archlinux.yml
index 5affa1c..02ba1f3 100644
--- a/roles/bootstrap/tasks/install-archlinux.yml
+++ b/roles/bootstrap/tasks/install-archlinux.yml
@@ -46,20 +46,16 @@
changed_when: true
- name: "Configure rEFInd boot options"
- ansible.builtin.copy:
+ ansible.builtin.template:
+ src: "refind_linux.conf.j2"
dest: "{{ mnt_root_path }}/boot/refind_linux.conf"
mode: "0644"
- content: |
- "Boot with defaults" "root=PARTLABEL={{ partition_root.name }} rw console=tty1"
- "Boot to terminal" "root=PARTLABEL={{ partition_root.name }} rw console=tty1 systemd.unit=multi-user.target"
- name: "Configure rEFInd settings"
- ansible.builtin.copy:
+ ansible.builtin.template:
+ src: "refind.conf.j2"
dest: "{{ mnt_boot_path }}/EFI/refind/refind.conf"
mode: "0644"
- content: |
- timeout 5
- textonly true
# NOTE: this is skipped because the docker test doesn't have proper EFI/refind directory created
tags: ["molecule-notest"]
@@ -88,7 +84,7 @@
ansible.builtin.command:
cmd: "arch-chroot {{ mnt_root_path }} pacman -S --noconfirm broadcom-wl"
changed_when: true
- when: bootstrap_broadcom_wl
+ when: bootstrap_mac
- name: "Blacklist modules conflicting with broadcom-wl"
ansible.builtin.copy:
@@ -100,7 +96,7 @@
blacklist b43
blacklist ssb
blacklist bcma
- when: bootstrap_broadcom_wl
+ when: bootstrap_mac
- name: "Load wl module at boot"
ansible.builtin.copy:
@@ -108,4 +104,4 @@
mode: "0644"
content: |
wl
- when: bootstrap_broadcom_wl
+ when: bootstrap_mac