Update install_nomad.sh

Updated WSL install steps to fix error finding nvidia-smi and mounting errors.
This commit is contained in:
nlovlyn 2026-03-23 17:23:21 -07:00 committed by GitHub
parent fe99e30863
commit e4adeaa488
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -194,6 +194,8 @@ ensure_docker_installed() {
# On WSL, if Docker is reachable, skip systemd checks (Docker Desktop case)
if is_wsl; then
export PATH="/usr/lib/wsl/lib:$PATH"
sudo mount --make-rshared /
if docker version >/dev/null 2>&1; then
echo -e "${GREEN}#${RESET} Docker is reachable (WSL/Docker Desktop). Skipping systemctl checks.\\n"
return 0