update ssh keys and path

This commit is contained in:
Mikan
2026-10-11 10:11:42 +04:00
parent 5894241be5
commit 7af4da48b7
5 changed files with 25 additions and 21 deletions

View File

@@ -1,17 +1,25 @@
@echo off
cd /d "%~dp0"
setlocal enabledelayedexpansion
set "WIN_DIR=%~dp0"
set "WIN_DIR_TRIMMED=%WIN_DIR:~0,-1%"
for /f "delims=" %%i in ('wsl wslpath -u "%WIN_DIR_TRIMMED%"') do set "WSL_DIR=%%i"
echo ========================================
echo SALEM AI GPU NODE
echo SALEM AI GPU NODE (WSL)
echo ========================================
echo.
echo Windows path: %WIN_DIR%
echo WSL path: %WSL_DIR%
echo.
echo Starting Docker services...
docker compose up -d
echo Starting Docker services via WSL...
wsl bash -c "cd '%WSL_DIR%' && docker compose up --build -d"
if errorlevel 1 (
echo.
echo ERROR: Failed to start GPU node.
echo ERROR: Failed to start GPU node in WSL.
pause
exit /b 1
)
@@ -19,7 +27,7 @@ if errorlevel 1 (
echo.
echo GPU node started successfully.
echo.
docker ps --filter "name=gpu-node-"
wsl bash -c "docker ps --filter 'name=gpu-node-'"
echo.
pause