From 9969f5a94a1f90e813aa03ffb0fead087436c1f9 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Fri, 10 Nov 2023 09:18:00 +0000 Subject: [PATCH] utils: kata-manager: Make test container name more unique Rather than creating a container called `test-kata`, prefix with the script name to make it a bit "more unique" and less likely for users to have an existing container with the test container name. The new test container name is `kata-manager-sh-test-kata`. Signed-off-by: James O. D. Hunt --- utils/kata-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/kata-manager.sh b/utils/kata-manager.sh index c92e9bc619..73f3956611 100755 --- a/utils/kata-manager.sh +++ b/utils/kata-manager.sh @@ -765,7 +765,7 @@ test_installation() local image="docker.io/library/busybox:latest" sudo $tool image pull "$image" - local container_name="test-kata" + local container_name="${script_name/./-}-test-kata" # Used to prove that the kernel in the container # is different to the host kernel.