Skip to content
Snippets Groups Projects
Unverified Commit 4e584131 authored by Timothée Oliger's avatar Timothée Oliger Committed by GitHub
Browse files

Add a new crio_root variable in order to store CRI-O data on something else than /var/lib (#11692)

parent b7c1d68e
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,8 @@ crio_stream_port: "10010"
crio_required_version: "{{ kube_version | regex_replace('^v(?P<major>\\d+).(?P<minor>\\d+).(?P<patch>\\d+)$', '\\g<major>.\\g<minor>') }}"
crio_root: "/var/lib/containers/storage"
# The crio_runtimes variable defines a list of OCI compatible runtimes.
crio_runtimes:
- name: crun
......
......@@ -17,7 +17,7 @@
# Path to the "root directory". CRI-O stores all of its data, including
# containers images, in this directory.
root = "/var/lib/containers/storage"
root = "{{ crio_root }}"
# Path to the "run directory". CRI-O stores all of its state in this directory.
# Read from /etc/containers/storage.conf first so unnecessary here
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment