From 2ff34f94461acdbc407ab7cf0a807fd784d89578 Mon Sep 17 00:00:00 2001 From: vandomej Date: Sun, 28 Sep 2025 12:35:29 -0700 Subject: [PATCH] Adding sudo to file removal --- control_plane/cleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control_plane/cleanup.sh b/control_plane/cleanup.sh index 93bcf6f..d560b46 100644 --- a/control_plane/cleanup.sh +++ b/control_plane/cleanup.sh @@ -16,6 +16,6 @@ kubectl config delete-user "admin@$cluster_name" || true talosctl config remove "$cluster_name" || true # Remove files -rm -rf "${HOME}/.talos/clusters/${cluster_name}" || truec +sudo rm -rf "${HOME}/.talos/clusters/${cluster_name}" || truec echo "Cleanup completed for cluster: $cluster_name" \ No newline at end of file