Skip to content

Instantly share code, notes, and snippets.

@mamemomonga
Created January 21, 2022 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mamemomonga/e3d6dcd2de50b2db0ffd810170ad6f58 to your computer and use it in GitHub Desktop.
Save mamemomonga/e3d6dcd2de50b2db0ffd810170ad6f58 to your computer and use it in GitHub Desktop.
WSL2の内部ホスト名を設定する

WSL2の内部ホスト名を設定する

$ sudo vim /etc/wsl.conf
[network]
hostname = hogehoge

$ exit
> wsl --shutdown
> wsl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment