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

fixes slow sudo (adds new hostname to hosts file) #12

Closed
wants to merge 2 commits into from
Closed

fixes slow sudo (adds new hostname to hosts file) #12

wants to merge 2 commits into from

Conversation

joyfulmantis
Copy link
Contributor

If sudo can not find the hostname in /etc/hosts, it will delay several seconds before executing. This commit adds the new hostname to /etc/hosts as part of the startup sequence.

@cerebrate
Copy link
Member

Thanks for the PR. I'll merge and test as soon as microsoft/WSL#4371 is cleared up.

@joyfulmantis
Copy link
Contributor Author

Closing this as I unintentionally pulled in the genie -c changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants