Focus local lab deployment on Linux and WSL

This commit is contained in:
bzuccaro
2026-04-24 21:31:48 -06:00
parent e915d87ec6
commit fe568c17cd
16 changed files with 10 additions and 205 deletions
-15
View File
@@ -132,29 +132,16 @@ host_is_wsl() {
[ "$(uname -s)" = "Linux" ] && uname -r | grep -qiE 'microsoft|wsl'
}
host_is_macos() {
[ "$(uname -s)" = "Darwin" ]
}
host_is_linux() {
[ "$(uname -s)" = "Linux" ]
}
host_is_arm_mac() {
host_is_macos && [ "$(uname -m)" = "arm64" ]
}
host_profile() {
if host_is_wsl; then
printf '%s\n' "wsl"
return
fi
if host_is_macos; then
printf '%s\n' "macos"
return
fi
if host_is_linux && host_is_debian_family; then
printf '%s\n' "native-debian-ubuntu"
return
@@ -299,7 +286,6 @@ Python 3 was not found.
Install it first, then rerun this command:
- Debian/Ubuntu/WSL: sudo apt update && sudo apt install -y python3 python3-venv
- macOS: brew install python@3.11
EOF
exit 1
}
@@ -401,7 +387,6 @@ Python 3 is installed, but its virtual environment support is still unavailable.
Install the missing venv package for your platform, then rerun this command:
- Debian/Ubuntu/WSL: sudo apt update && sudo apt install -y python3-venv python3-pip
- macOS: brew reinstall python@3.11
EOF
exit 1
fi