Jelajahi Sumber

cri-o: use overlay instead of overlay2

overlay2 and overlay are the same driver.  Upstream CRI-O is going to
drop any reference to overlay2 and use only overlay.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Giuseppe Scrivano 7 tahun lalu
induk
melakukan
efd87ce407
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      roles/docker/templates/crio.conf.j2

+ 2 - 2
roles/docker/templates/crio.conf.j2

@@ -13,12 +13,12 @@ runroot = "/var/run/containers/storage"
 
 # storage_driver select which storage driver is used to manage storage
 # of images and containers.
-storage_driver = "overlay2"
+storage_driver = "overlay"
 
 # storage_option is used to pass an option to the storage driver.
 storage_option = [
 {% if ansible_distribution in ['RedHat', 'CentOS'] %}
-	"overlay2.override_kernel_check=1"
+	"overlay.override_kernel_check=1"
 {% endif %}
 ]