Skip to content

Commit 4ef9219

Browse files
authored
Merge pull request #2425 from rancher-sandbox/dummy-wsl-distro
Use dummy WSL distro instead of OpenSUSE
2 parents fe9f17b + 4116f0f commit 4ef9219

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,14 @@ jobs:
107107
wsl --status
108108
wsl --list --online
109109
- name: Install WSL2 distro
110-
timeout-minutes: 3
110+
timeout-minutes: 1
111111
run: |
112112
# FIXME: At least one distro has to be installed here,
113113
# otherwise `wsl --list --verbose` (called from Lima) fails:
114114
# https://github.com/lima-vm/lima/pull/1826#issuecomment-1729993334
115115
# The distro image itself is not consumed by Lima.
116116
# ------------------------------------------------------------------
117-
# Ubuntu-22.04: gets stuck in some infinite loop during adduser
118-
# OracleLinux_9_1: almostly silently fails, and just prints "Usage: adduser [options] LOGIN"
119-
wsl --install -d openSUSE-Leap-15.5
117+
wsl --import dummy $env:TEMP nul
120118
wsl --list --verbose
121119
- name: Set gitconfig
122120
run: |

0 commit comments

Comments
 (0)