From d795d8f4faf826837973372867a70b9ab2b01c66 Mon Sep 17 00:00:00 2001 From: Le Zhang Date: Fri, 24 May 2024 13:49:54 -0400 Subject: [PATCH] Issue open-horizon#4063 - Bug: agent-install.sh from Mac fails to install cluster agent due to permission error on a cp command that isn't needed Signed-off-by: Le Zhang --- agent-install/agent-install.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/agent-install/agent-install.sh b/agent-install/agent-install.sh index d0b83625c..0203c2e61 100755 --- a/agent-install/agent-install.sh +++ b/agent-install/agent-install.sh @@ -3866,8 +3866,6 @@ function create_horizon_env() { if [[ -f $AGENT_CERT_FILE ]]; then local cert_name=$(basename ${AGENT_CERT_FILE}) local cluster_cert_path="/etc/default/cert" - log_verbose "copy cert file to $cluster_cert_path ..." - mkdir -p $cluster_cert_path && cp ${AGENT_CERT_FILE} $cluster_cert_path echo "HZN_MGMT_HUB_CERT_PATH=$cluster_cert_path/$cert_name" >>$HZN_ENV_FILE fi