Skip to content

Commit f68b6d1

Browse files
committed
Add mount for /usr/local
1 parent 2d677bf commit f68b6d1

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

tasks/base/bootc-tweaks.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,27 @@
2525
name: opt.mount
2626
enabled: true
2727

28+
- name: Add /usr/local mount
29+
ansible.builtin.copy:
30+
content: |
31+
[Unit]
32+
Description=Mount /usr/local
33+
34+
[Mount]
35+
What=/var/usrlocal
36+
Where=/usr/local
37+
Type=none
38+
Options=bind
39+
40+
[Install]
41+
WantedBy=multi-user.target
42+
dest: /usr/lib/systemd/system/usrlocal.mount
43+
44+
- name: Enable /usr/local mount
45+
ansible.builtin.systemd_service:
46+
name: usrlocal.mount
47+
enabled: true
48+
2849
- name: Reboot on Kernel Panic
2950
ansible.builtin.copy:
3051
content: |

0 commit comments

Comments
 (0)