Move runroot from crio.conf to storage.conf (#10372)

pull/10374/head
Florian Ruynat 2023-08-17 19:17:22 +02:00 committed by GitHub
parent 71cf553aa8
commit a8c1bccdd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -133,6 +133,8 @@
value: '"overlay"' value: '"overlay"'
- option: graphroot - option: graphroot
value: '"/var/lib/containers/storage"' value: '"/var/lib/containers/storage"'
- option: runroot
value: '"/var/run/containers/storage"'
# metacopy=on is available since 4.19 and was backported to RHEL 4.18 kernel # metacopy=on is available since 4.19 and was backported to RHEL 4.18 kernel
- name: Cri-o | set metacopy mount options correctly - name: Cri-o | set metacopy mount options correctly

View File

@ -20,7 +20,8 @@
root = "/var/lib/containers/storage" root = "/var/lib/containers/storage"
# Path to the "run directory". CRI-O stores all of its state in this directory. # Path to the "run directory". CRI-O stores all of its state in this directory.
runroot = "/var/run/containers/storage" # Read from /etc/containers/storage.conf first so unnecessary here
# runroot = "/var/run/containers/storage"
# Storage driver used to manage the storage of images and containers. Please # Storage driver used to manage the storage of images and containers. Please
# refer to containers-storage.conf(5) to see all available storage drivers. # refer to containers-storage.conf(5) to see all available storage drivers.