mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-15 16:13:20 +00:00
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 <james.o.hunt@intel.com>
This commit is contained in:
parent
436d7d1275
commit
9969f5a94a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user