-
Notifications
You must be signed in to change notification settings - Fork 600
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
issue 2117: disallow admin username #2378
base: master
Are you sure you want to change the base?
issue 2117: disallow admin username #2378
Conversation
This is unfortunately not going to be as simple as changing the regex. The changed default setting must be made conditional on the version of Lima that creates the VM, otherwise you are going to break existing instances. #2107 introduces code that will make this possible. I'm also wondering if we special-case |
Hi @jandubois , |
This is not correct; only Ubuntu has a predefined |
Thank you, I understand now. |
a9b5a89
to
b50caef
Compare
Signed-off-by: Linh Luong <[email protected]> Signed-off-by: bo17age <[email protected]>
…ssertions Signed-off-by: Linh Luong <[email protected]> Signed-off-by: bo17age <[email protected]>
Signed-off-by: Linh Luong <[email protected]> Signed-off-by: bo17age <[email protected]>
Signed-off-by: Linh Luong <[email protected]> Signed-off-by: bo17age <[email protected]>
Signed-off-by: Linh Luong <[email protected]> Signed-off-by: bo17age <[email protected]>
Signed-off-by: bo17age <[email protected]>
Signed-off-by: bo17age <[email protected]>
Signed-off-by: bo17age <[email protected]>
Signed-off-by: bo17age <[email protected]>
bff9ee3
to
d5ab3b1
Compare
Hi @jandubois, please help to review this PR again. |
Hi @bo17age, My thoughts around how this should be handled have evolved since you originally opened this PR. I thought you had abandoned it, which is why I didn't write them down earlier. I think we should make the username configurable in user:
name: null And then If the All other locations should use The user could then also add it to their I want to use a nested Note that I have not yet verified if all the locations that currently call Sorry for moving the goal-post at this late stage, but let me know if you are up for modifying your PR along those lines. Alternatively I could review this PR as is, and then make the changes I described above in a follow-up PR myself. |
Hi @jandubois , |
Hi @bo17age, Did you get a chance to work on this? We are planning for a Lima 1.0 release later this month, or very early in November, and there will be some changes in default behaviour already. So it would be good to make the change for the Let me know if you think you cannot finish it by some time next week, and I can give it a try myself! |
Sorry, I meant: let me know if you can finish it yourself by next week, or if that is going to be too tight for you. In that case I can try to do it myself. |
disallow admin username; use fallback username.
Related issue: #2117