Uninstall deletes Ubuntu and its files with no way to keep them

Aperta
#197 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux, powershell, ubuntu
Ambito
devops

Direzione di ricerca

Start by reading devconfig.ps1 around UninstallWarning (line 124) and trace the -Action Uninstall flow to see where Ubuntu is unregistered and WSL is removed. Decide how the proposed -KeepWsl switch or -Exclude WslCleanup option fits the existing command structure; done means uninstall can preserve WSL and its distros, and the warning accurately describes what will be removed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

devconfig.ps1's UninstallWarning is Ubuntu and its files will be deleted. Targeted tools are removed even if they predate setup. (line 124 on main @ 2ac20c5), and there's no switch to keep the distro: -Action Uninstall unregisters Ubuntu, deletes its files and uninstalls WSL. People who want to reset the settings without losing their Linux environment can't.

Proposal: a -KeepWsl switch (or, with #192, -Exclude WslCleanup) that leaves WSL and its distros alone, with the warning saying which applies.

Lingua principale
PowerShell
Stelle
3.5k
Fork
239
Merge medio
6h 3m
PR unite (30g)
37

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/WindowsDeveloperConfig

Tutte le issue di microsoft/WindowsDeveloperConfig

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.