Commit b9740f6
committed
fix: auto-proceed installer warnings in headless mode
`SetupLog.wait_continue()` previously blocked on an asyncio Event that
could only be set by the Textual `enter` key binding. When the installer
runs with `--headless`, Textual has no terminal-attached UI to receive
keystrokes, so the WSL/LiveCD environment warning prompt would hang
forever waiting for an Enter press that never arrives.
Detect headless mode and auto-continue after printing the warning so
`./backend.ai install --headless --non-interactive ...` proceeds without
human input.1 parent 56c4207 commit b9740f6
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
101 | 106 | | |
102 | 107 | | |
103 | 108 | | |
| |||
0 commit comments