mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-30 23:37:45 +00:00
Merge pull request #10000 from littlejawa/kata_deploy_add_storage_config_for_crio
kata-deploy: add storage configuration for cri-o
This commit is contained in:
commit
203d9e7803
@ -465,11 +465,19 @@ function configure_crio() {
|
||||
rm -f "$crio_drop_in_conf_file_debug"
|
||||
touch "$crio_drop_in_conf_file_debug"
|
||||
|
||||
# configure storage option for crio
|
||||
cat <<EOF | tee -a "$crio_drop_in_conf_file"
|
||||
[crio]
|
||||
storage_option = [
|
||||
"overlay.skip_mount_home=true",
|
||||
]
|
||||
EOF
|
||||
|
||||
# configure runtimes for crio
|
||||
for shim in "${shims[@]}"; do
|
||||
configure_crio_runtime $shim
|
||||
done
|
||||
|
||||
|
||||
if [ "${DEBUG}" == "true" ]; then
|
||||
cat <<EOF | tee $crio_drop_in_conf_file_debug
|
||||
[crio.runtime]
|
||||
|
Loading…
Reference in New Issue
Block a user