Skip to content

Commit

Permalink
Set storage driver explictly in the crio.conf
Browse files Browse the repository at this point in the history
crio.conf(5) says:

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

   Note:
   overlay and overlay2 are the same driver
  • Loading branch information
afbjorklund committed Sep 30, 2018
1 parent bd6d3e7 commit 988ce99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/iso/minikube-iso/package/crio-bin/crio-bin.mk
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ define CRIO_BIN_INSTALL_TARGET_CMDS
$(TARGET_DIR)/etc/containers/registries.conf

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
Expand Down
2 changes: 1 addition & 1 deletion deploy/iso/minikube-iso/package/crio-bin/crio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 988ce99

Please sign in to comment.