mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #24025 from ZJU-SEL/fix-working-dirctory-mistake
Automatic merge from submit-queue fix relative working dirctory of KUBE_ROOT fix relative working dirctory of `KUBE_ROOT`, do not need to change to `KUBE_ROOT` in the first place Signed-off-by: Crazykev <zcq8989@gmail.com>
This commit is contained in:
commit
2e9bcb8311
@ -39,8 +39,6 @@ WAIT_FOR_URL_API_SERVER=${WAIT_FOR_URL_API_SERVER:-10}
|
||||
ENABLE_DAEMON=${ENABLE_DAEMON:-false}
|
||||
HOSTNAME_OVERRIDE=${HOSTNAME_OVERRIDE:-"127.0.0.1"}
|
||||
|
||||
cd "${KUBE_ROOT}"
|
||||
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
echo "WARNING : This script MAY be run as root for docker socket / iptables functionality; if failures occur, retry as root." 2>&1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user