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
/etc/hosts management #32
Comments
This issue might be solved or at least by changing the way DDEV is used inside WSL. |
Installing DDEV like like described in this documentation, solves the WSL part of this issue. Sadly this way will probably no become the officially supported one. |
Note that /etc/hosts is not a part of the picture when using I would like to see dual-hosts-file management for the non-ddev.site situation though in |
Created the issue ddev/ddev#3818 for this. @rfay, sorry noticed your comment just after creating the issue. In case I normally don't need to touch the hosts file, there might be a misconfiguration or misunderstand on my side. Lets discuss this in the ddev issue. |
As @rfay already stated there is no need for editing host files in common sitations. |
Currently the hosts management is skipped when starting a project via the plugin, as this is a non interactive process and entering the sudo password is required for this step.
Another problem is, that using ddev inside wsl the host entry needs to be set in Windows and not the WSL environment.
The ddev integration plugin should have all required information and permissions to do the /etc/hosts management bypassing the ddev internal one to allow a better OS compatible permission management and a better WSL integration.
The text was updated successfully, but these errors were encountered: