DamionGans / ubuntu-wsl2-systemd-script

[Does not work anymore!] Script to enable systemd support on current Ubuntu WSL2 images
1.56k stars 382 forks source link

Change systemd target to multi-user #49

Open pablorq opened 3 years ago

pablorq commented 3 years ago

The multi-user target on systemd runs a lot of needed services as cron and fix the snap mounting after reboot, which is also a "all snap packages broken" issue.

pablorq commented 3 years ago

Also added disabling systemd services to overwrite DNS resolution from WSL (/etc/resolv.conf)

GiGurra commented 2 years ago

would love to have this merged. Saved my day.. still isnt fixed :( Applied your changes manually to my files and now my system works