Force fuse-overlayfs storage (faster than vfs)
This commit is contained in:
parent
a8cb938eb6
commit
4094224b69
3 changed files with 13 additions and 0 deletions
5
roles/home-cli/files/storage.conf
Normal file
5
roles/home-cli/files/storage.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[storage]
|
||||||
|
driver = "overlay"
|
||||||
|
|
||||||
|
[storage.options.overlay]
|
||||||
|
mount_program = "/usr/bin/fuse-overlayfs"
|
|
@ -59,3 +59,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ ansible_env.XDG_CONFIG_HOME }}/powershell"
|
path: "{{ ansible_env.XDG_CONFIG_HOME }}/powershell"
|
||||||
state: directory
|
state: directory
|
||||||
|
- name: Create $XDG_CONFIG_HOME/containers
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ ansible_env.XDG_CONFIG_HOME }}/containers"
|
||||||
|
state: directory
|
||||||
|
|
|
@ -75,3 +75,7 @@
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: user-dirs.dirs
|
src: user-dirs.dirs
|
||||||
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/user-dirs.dirs"
|
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/user-dirs.dirs"
|
||||||
|
- name: Create $XDG_CONFIG_HOME/containers/storage.conf
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: storage.conf
|
||||||
|
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/containers/storage.conf"
|
||||||
|
|
Loading…
Reference in a new issue