Skip to content

Commit

Permalink
doc: Restore the instruction of /etc/environment clean up for users o…
Browse files Browse the repository at this point in the history
…f versions prior to 1.5
  • Loading branch information
nullpo-head committed Jan 20, 2022
1 parent 2ca1b7e commit e4aa1ea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/references.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,13 @@ sudo /opt/distrod/bin/distrod disable

If you also want to completely remove distrod, just delete `/opt/distrod`.

**For users of versions prior to 1.5**

In addition, clean up the WSL related variables written in `/etc/environment`.
Remove `WSLENV`, `WSL_DISTRO_NAME`, and `WSL_INTEROP`. You can remove `/opt/distrod/bin` from `PATH` as well.
Prior to version 1.5, Distrod did not clean up these variables.
This prevented `.exe` files from being launched from a `sudo` or `ssh` session.

## Open a Shell Session outside the Container for Systemd

Basically, Distrod works by
Expand Down

0 comments on commit e4aa1ea

Please sign in to comment.