From 04dedda6ed42f549413224879fb0158dc5d38c94 Mon Sep 17 00:00:00 2001 From: Alex Lyn Date: Sun, 14 Sep 2025 16:38:09 +0800 Subject: [PATCH] runtime-rs: Bugfix for kata virtual volume overlay fstype As prvious configure with overlayfs is incorrect, which causes the agent policy validation failure. And it's also different with runtime-go's configuration. In this patch, we'll correct its fstype with overlay and align with runtime on this matter. Signed-off-by: Alex Lyn --- src/runtime-rs/crates/resource/src/rootfs/virtual_volume.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime-rs/crates/resource/src/rootfs/virtual_volume.rs b/src/runtime-rs/crates/resource/src/rootfs/virtual_volume.rs index 18e01b7488..a77def8b40 100644 --- a/src/runtime-rs/crates/resource/src/rootfs/virtual_volume.rs +++ b/src/runtime-rs/crates/resource/src/rootfs/virtual_volume.rs @@ -24,7 +24,7 @@ use kata_types::{ /// Image guest-pull related consts const KUBERNETES_CRI_IMAGE_NAME: &str = "io.kubernetes.cri.image-name"; const KUBERNETES_CRIO_IMAGE_NAME: &str = "io.kubernetes.cri-o.ImageName"; -const KATA_VIRTUAL_VOLUME_TYPE_OVERLAY_FS: &str = "overlayfs"; +const KATA_VIRTUAL_VOLUME_TYPE_OVERLAY_FS: &str = "overlay"; const KATA_GUEST_ROOT_SHARED_FS: &str = "/run/kata-containers/"; const CRI_CONTAINER_TYPE_KEY_LIST: &[&str] = &[