Browse Source

02k8s-install-centos.sh

master
lizw 1 year ago
parent
commit
8c90ce4d82
  1. 2
      sd_dsl/02k8s-install-centos.sh

2
sd_dsl/02k8s-install-centos.sh

@ -203,7 +203,7 @@ function command::exec() {
command="$sudo_options bash -c $(utils::quote "$command")"
fi
command="$(utils::quote "$command")"
if [[ "${host}" == "127.0.0.1" ]]; then
if [[ "${host}" == "127.0.0.1" || "${host}" == "10.0.93.197" ]]; then
# 本地执行
log::exec "[command]" "bash -c $(printf "%s" "${command//${SUDO_PASSWORD:-}/zzzzzz}")"
# shellcheck disable=SC2094

Loading…
Cancel
Save