Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(chown): use 'id' command to replace SUDO_UID, SUDO_UID env #1864

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jojotong
Copy link

@jojotong jojotong commented Jun 1, 2023

If env SUDO_UID, SUDO_UID not exist, kk init os will be failed.

Maybe we can use id -u, id -g to replace.

@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jojotong
To complete the pull request process, please assign pixiake after the PR has been reviewed.
You can assign the PR to them by writing /assign @pixiake in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ks-ci-bot ks-ci-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 1, 2023
jojotong pushed a commit to jojotong/kubekey that referenced this pull request Mar 13, 2024
解决容器内无法获取 SUDO_UID, SUDO_UID,的问题,社区暂未合并此PR
kubesphere#1864
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants