mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-04-04 15:56:16 +02:00
Update install_nomad.sh
Updated WSL install steps to fix error finding nvidia-smi and mounting errors.
This commit is contained in:
parent
fe99e30863
commit
e4adeaa488
|
|
@ -194,6 +194,8 @@ ensure_docker_installed() {
|
||||||
|
|
||||||
# On WSL, if Docker is reachable, skip systemd checks (Docker Desktop case)
|
# On WSL, if Docker is reachable, skip systemd checks (Docker Desktop case)
|
||||||
if is_wsl; then
|
if is_wsl; then
|
||||||
|
export PATH="/usr/lib/wsl/lib:$PATH"
|
||||||
|
sudo mount --make-rshared /
|
||||||
if docker version >/dev/null 2>&1; then
|
if docker version >/dev/null 2>&1; then
|
||||||
echo -e "${GREEN}#${RESET} Docker is reachable (WSL/Docker Desktop). Skipping systemctl checks.\\n"
|
echo -e "${GREEN}#${RESET} Docker is reachable (WSL/Docker Desktop). Skipping systemctl checks.\\n"
|
||||||
return 0
|
return 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user