Last active
June 27, 2020 15:05
-
-
Save mikaelbalin/450ced01e8188ad7885c2ef530805bf0 to your computer and use it in GitHub Desktop.
**Location**: `/etc/wsl.conf` WSL2 configs: https://docs.microsoft.com/en-us/windows/wsl/wsl-config Mount drive: ```shell
sudo mkdir /mnt/d
sudo mount -t drvfs D: /mnt/d
``` Unmount: ```shell
sudo umount /mnt/d
``` Kali: ```shell
psswd ju6Hzeq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable extra metadata options by default | |
[automount] | |
enabled = true | |
root = /mnt/ | |
options = "metadata" | |
mountFsTab = false | |
# Enable DNS – even though these are turned on by default, we'll specify here just to be explicit. | |
[network] | |
generateHosts = true | |
generateResolvConf = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment