Skip to content

Commit

Permalink
Update fix_wsl2_networking.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
franckferman authored Mar 13, 2022
1 parent d955b56 commit 76ecb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fix_wsl2_networking.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sudo echo "generateResolvConf=false">>/etc/wsl.conf
sudo chattr +i /etc/wsl.conf

sudo chattr -i /etc/resolv.conf>/dev/null
sudo rm /etc/resolv.conf
sudo rm /etc/resolv.conf>/dev/null

sudo echo "nameserver 1.1.1.1">/etc/resolv.conf
sudo echo "nameserver 1.0.0.1">>/etc/resolv.conf
Expand Down

0 comments on commit 76ecb77

Please sign in to comment.