From 5a78dc3ce88fc5d8397a7e41bc62fd7dbcd2b0e1 Mon Sep 17 00:00:00 2001 From: Daniel Leiva Date: Mon, 23 Mar 2026 18:57:37 +0000 Subject: [PATCH] fix(install): correct nvidia runtime string evaluation Removed quotes around the nvidia runtime string to properly match the unquoted output from docker info. --- install/install_nomad.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/install_nomad.sh b/install/install_nomad.sh index e67f4e5..33d6d73 100644 --- a/install/install_nomad.sh +++ b/install/install_nomad.sh @@ -510,7 +510,7 @@ verify_gpu_setup() { fi # Check if Docker has NVIDIA runtime - if docker info 2>/dev/null | grep -q \"nvidia\"; then + if docker info 2>/dev/null | grep -q "nvidia"; then echo -e "${GREEN}✓${RESET} Docker NVIDIA runtime configured\\n" else echo -e "${YELLOW}○${RESET} Docker NVIDIA runtime not detected\\n" @@ -526,7 +526,7 @@ verify_gpu_setup() { echo -e "${YELLOW}===========================================${RESET}\\n" # Summary - if command -v nvidia-smi &> /dev/null && docker info 2>/dev/null | grep -q \"nvidia\"; then + if command -v nvidia-smi &> /dev/null && docker info 2>/dev/null | grep -q "nvidia"; then echo -e "${GREEN}#${RESET} GPU acceleration is properly configured! The AI Assistant will use your GPU.\\n" else echo -e "${YELLOW}#${RESET} GPU acceleration not detected. The AI Assistant will run in CPU-only mode.\\n"