feat(install): offer GNOME desktop and RDP remote login instead of forcing them, default no on WSL
ubuntu-desktop-minimal and gnome-remote-desktop were installed unconditionally in the Linux block. On WSL they are useless (Windows owns the display) and the desktop's NetworkManager/systemd-resolved rewrite /etc/resolv.conf, which lost DNS mid-install (fail2ban/whois fetch failed on 'Temporary failure resolving'). - confirm() takes an optional default (y → [Y/n], Enter = yes, no tty = yes) - is_wsl(): WSL_DISTRO_NAME or 'microsoft' in /proc/version - offer_desktop(): desktop [Y/n], then RDP [Y/n]; WSL flips both to [y/N] - README step 11 + table + packages, CHANGELOG Unreleased
This commit is contained in:
1 parent
deb1449c82
commit
5d602696d5
4 files changed
+64
-16
No files matched your search
@@ -15,6 +15,7 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Versioning: se
|
||||
- `tmux.conf`: Ctrl+Alt+arrow moves between panes without the prefix, in copy-mode too (macOS: map Ctrl+Cmd+arrow in iTerm2 to `[1;7A` `[1;7B` `[1;7D` `[1;7C`).
|
||||
|
||||
### Changed
|
||||
- `install.sh`: the GNOME desktop (`ubuntu-desktop-minimal`) and the RDP remote login are now offered (`[Y/n]` each, RDP only after the desktop) instead of always installed; on WSL both default to no, since Windows owns the display and the desktop's NetworkManager/systemd-resolved rewrite `/etc/resolv.conf` and break DNS mid-install.
|
||||
- `.githooks/post-commit` and `post-merge` fail closed on `gitflow.autopush`: an unreadable or non-boolean value means no push, with a named warning (was: silently treated as `true`).
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in new issue
Block a user