From f8e3b2f08dce69260042a4e0bd4f3b8f2fbbc1c8 Mon Sep 17 00:00:00 2001 From: Pawan Pinjarkar Date: Tue, 29 Apr 2025 16:27:58 -0400 Subject: [PATCH] NO-ISSUE: Cleanup Cleanup the $REGISTRY_CREDS file created in the configure_host.sh file when cleaning up. If not cleaned properly, there could be possible errors such as https://github.com/openshift-metal3/dev-scripts/pull/1753 --- host_cleanup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/host_cleanup.sh b/host_cleanup.sh index 9347a18ce..c6d40c3de 100755 --- a/host_cleanup.sh +++ b/host_cleanup.sh @@ -83,3 +83,6 @@ sudo pkill -f oc.*proxy # Remove image-reg nfsshare sudo rm -rf /etc/exports.d/dev-scripts.exports /opt/dev-scripts/nfsshare + +# Remove the authfile created in configure host +rm -f ${REGISTRY_CREDS}