From 0068683bc7e7b0840b1675777625637490b4748a Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Sun, 30 Oct 2022 21:37:29 +0800 Subject: [PATCH] 06k8s-install-centos.sh --- 00base/07env-install-centos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/00base/07env-install-centos.sh b/00base/07env-install-centos.sh index b7d68b6..ff02046 100644 --- a/00base/07env-install-centos.sh +++ b/00base/07env-install-centos.sh @@ -360,7 +360,7 @@ function init:nodejs() { exc_cmd="$(utils::quote "$exc_cmd")" if [[ "${ADD_USER_TAG:-}" == "1" ]]; then command::exec "${host}" " - echo '${ADD_USER_PASSWORD}' | su - ${ADD_USER_NAME} -c \"$exc_cmd\" + echo '${ADD_USER_PASSWORD}' | su - ${ADD_USER_NAME} -c $exc_cmd " check::exit_code "$?" "nodejs" "$host nodejs配置" "exit" log::info "[nodejs]" "nodejs配置成功!"