Start a disk labels loader config.

Don't have it working the way I want to yet, so its commented out.
This commit is contained in:
Tom Alexander
2022-11-12 16:38:14 -05:00
parent 3dd96dcc2c
commit a2a7da0d9b
3 changed files with 33 additions and 7 deletions

View File

@@ -95,6 +95,20 @@
fstype: tmpfs
opts: rw,mode=777
- name: Add fstab entries
when: efi_dev is defined
mount:
name: "{{ item.dst }}"
src: "{{ item.src }}"
fstype: "{{ item.fstype }}"
opts: "{{ item.opts }}"
state: present
loop:
- dst: /boot/efi
src: "{{ efi_dev }}"
fstype: msdosfs
opts: rw
- name: Install scripts
copy:
src: "files/{{ item.src }}"
@@ -122,3 +136,13 @@
name: bemount_enable
value: "YES"
path: /etc/rc.conf.d/bemount
- name: Install loader.conf
copy:
src: "files/{{ item }}_loader.conf"
dest: "/boot/loader.conf.d/{{ item }}.conf"
mode: 0644
owner: root
group: wheel
loop:
- disk_labels