diff --git a/integration/kubernetes/cleanup_bare_metal_env.sh b/integration/kubernetes/cleanup_bare_metal_env.sh index d9d59e252..3adac2ded 100755 --- a/integration/kubernetes/cleanup_bare_metal_env.sh +++ b/integration/kubernetes/cleanup_bare_metal_env.sh @@ -35,6 +35,9 @@ fi #cleanup stale file under /run sudo sh -c 'rm -rf /run/flannel' +#cleanup the kubernetes apt list file +sudo rm /etc/apt/sources.list.d/kubernetes.list + # delete containers resource created by runc cri_runtime="${CRI_RUNTIME:-crio}" case "${cri_runtime}" in