From b087667ac5de2ba7dbc77b6f657c3d43e00e3bf5 Mon Sep 17 00:00:00 2001 From: singhwang Date: Sat, 3 Dec 2022 19:11:42 +0800 Subject: [PATCH] kata-deploy: Fix the pod of kata deploy starts to occur an error If a pod of kata is deployed on a machine, after the machine restarts, the pod status of kata-deploy will be CrashLoopBackOff. Fixes: #5868 Signed-off-by: SinghWang --- tools/packaging/kata-deploy/scripts/kata-deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/packaging/kata-deploy/scripts/kata-deploy.sh b/tools/packaging/kata-deploy/scripts/kata-deploy.sh index 9ad2a3568a..a4a4f9d5cd 100755 --- a/tools/packaging/kata-deploy/scripts/kata-deploy.sh +++ b/tools/packaging/kata-deploy/scripts/kata-deploy.sh @@ -56,7 +56,7 @@ function get_container_runtime() { function install_artifacts() { echo "copying kata artifacts onto host" - cp -a /opt/kata-artifacts/opt/kata/* /opt/kata/ + cp -au /opt/kata-artifacts/opt/kata/* /opt/kata/ chmod +x /opt/kata/bin/* chmod +x /opt/kata/runtime-rs/bin/* }