| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| windows:opensuse_tumbleweed_wsl [2025/11/21 01:22] – Sean Rhone | windows:opensuse_tumbleweed_wsl [2026/02/11 07:47] (current) – [Update] Sean Rhone |
|---|
| * Tumbleweed ((https://en.opensuse.org/Portal:Tumbleweed)) | * Tumbleweed ((https://en.opensuse.org/Portal:Tumbleweed)) |
| * WSL ((https://en.opensuse.org/openSUSE:WSL)) | * WSL ((https://en.opensuse.org/openSUSE:WSL)) |
| | |
| | openSUSE Tumbleweed |
| |
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| |
| * [[windows;10|Windows 10 (21H2)]] | * [[windows;10_ltsc_server|Windows 10 (21H2)]] |
| * [[windows;notes;wsl|WSL2]] | * [[windows;notes;wsl|WSL2]] |
| |
| * https://download.opensuse.org/repositories/Virtualization:/WSL:/instarball/openSUSE_Tumbleweed_images/ | * https://download.opensuse.org/repositories/Virtualization:/WSL:/instarball/openSUSE_Tumbleweed_images/ |
| |
| "wsl.exe" --install --from-file "%UserProfile%\Downloads\openSUSE-Tumbleweed-20251119.x86_64.tar.xz" --name "openSUSE-Tumbleweed" --no-launch | "wsl.exe" --install --from-file "%UserProfile%\Downloads\openSUSE-Tumbleweed-20251120.x86_64.tar.xz" --name "openSUSE-Tumbleweed" --no-launch |
| |
| "wsl.exe" --set-default openSUSE-Tumbleweed | "wsl.exe" --set-default openSUSE-Tumbleweed |
| | |
| | ===== Initial Setup ===== |
| |
| "wsl.exe" --distribution openSUSE-Tumbleweed | "wsl.exe" --distribution openSUSE-Tumbleweed |
| |
| TITLE openSUSE Updater | TITLE openSUSE Updater |
| | CD "%Temp%" |
| |
| "wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/zypper' clean --all | "wsl.exe" --update |
| "wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/zypper' --non-interactive refresh --force --services | |
| "wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/zypper' --non-interactive dist-upgrade --auto-agree-with-licenses --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change | |
| |
| "wsl.exe" --distribution openSUSE-Tumbleweed -- '/usr/bin/sync' | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --user root -- '/usr/bin/zypper' clean --all |
| | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --user root -- '/usr/bin/zypper' --non-interactive refresh --force --services |
| | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" --user root -- '/usr/bin/zypper' --non-interactive dist-upgrade --auto-agree-with-licenses --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change |
| | |
| | "wsl.exe" --distribution openSUSE-Tumbleweed --cd "/tmp" -- '/usr/bin/sync' |
| |
| :: End</code> | :: End</code> |
| ====== Task Scheduler ====== | ====== Task Scheduler ====== |
| |
| **** | ===== Update ===== |
| | |
| taskschd.msc | |
| | |
| ===== Updater ===== | |
| | |
| * ''5:45:00 AM'' daily | |
| | |
| openSUSE Update | |
| | |
| "%SystemDrive%\www\scripts\wsl\openSUSE Updater.bat" | |
| | |
| ====== Update ====== | |
| |
| **** | * Daily ''05:45:00 AM'' |
| |
| "wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/zypper' --non-interactive refresh --force --services && "wsl.exe" --distribution openSUSE-Tumbleweed --user root -- '/usr/bin/zypper' --non-interactive dist-upgrade --auto-agree-with-licenses --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change | SCHTASKS /Create /SC "DAILY" /TN "openSUSE Update" /TR "'%SystemDrive%\www\scripts\wsl\openSUSE Updater.bat'" /ST "05:45" /F |
| |