mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-28 20:41:04 +00:00
Merge pull request #7715 from fidencio/topic/CCv0-configure-snapshotter-as-part-of-kata-deploy
CC: kata-deploy: Set the snapshotter in the containerd runtime config
This commit is contained in:
commit
1f0cc490bd
@ -308,7 +308,7 @@ function configure_containerd_runtime() {
|
||||
cat <<EOF | tee -a "$containerd_conf_file"
|
||||
[$runtime_table]
|
||||
runtime_type = "${runtime_type}"
|
||||
cri_handler = "cc"
|
||||
snapshotter = "${SNAPSHOTTER}"
|
||||
privileged_without_host_devices = true
|
||||
pod_annotations = ["io.katacontainers.*"]
|
||||
EOF
|
||||
@ -414,6 +414,7 @@ function main() {
|
||||
echo "* DEFAULT_SHIM: ${DEFAULT_SHIM}"
|
||||
echo "* CREATE_RUNTIMECLASSES: ${CREATE_RUNTIMECLASSES}"
|
||||
echo "* CREATE_DEFAULT_RUNTIMECLASS: ${CREATE_DEFAULT_RUNTIMECLASS}"
|
||||
echo "* SNAPSHOTTER: ${SNAPSHOTTER}"
|
||||
|
||||
# script requires that user is root
|
||||
euid=$(id -u)
|
||||
|
Loading…
Reference in New Issue
Block a user