Set storage driver explictly in the crio.conf

crio.conf(5) says:

   storage_driver=""
   CRIO storage driver (default is "overlay")

   Note:
   overlay and overlay2 are the same driver
pull/3190/head
Anders F Björklund 2018-04-21 21:23:36 +02:00
parent 9f8ba5ffe6
commit da203377be
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ define CRIO_BIN_INSTALL_TARGET_CMDS
$(TARGET_DIR)/etc/containers/policy.json
mkdir -p $(TARGET_DIR)/etc/sysconfig
echo 'CRIO_OPTIONS="--storage-driver=overlay2 --log-level=debug"' > $(TARGET_DIR)/etc/sysconfig/crio
echo 'CRIO_OPTIONS="--log-level=debug"' > $(TARGET_DIR)/etc/sysconfig/crio
endef
define CRIO_BIN_INSTALL_INIT_SYSTEMD

View File

@ -12,7 +12,7 @@ runroot = "/var/run/containers/storage"
# storage_driver select which storage driver is used to manage storage
# of images and containers.
storage_driver = ""
storage_driver = "overlay"
# storage_option is used to pass an option to the storage driver.
storage_option = [