Files
training-labs/labs/osbash/lib/wbatch/template-begin_node_bat
Pranav Salunke d9336056d7 Update .gitignore to track the lib folder
Allows content in the lib folder to be tracked by the repository.

Change-Id: I46ae209daba8d109ed4cf4d8ca3094404e1524ee
2015-10-10 09:05:18 +02:00

24 lines
506 B
Batchfile

ECHO %time% Cleaning up autostart and log directories
DEL /S /Q %AUTODIR%
DEL /S /Q %LOGDIR%
ECHO %time% Looking for %IMGDIR%\%BASEDISK%
IF EXIST %IMGDIR%\%BASEDISK% goto got_base_disk
ECHO.
ECHO %BASEDISK% not found in %IMGDIR%.
ECHO.
ECHO You need to build a base disk before you can create node VMs.
ECHO.
goto :terminate
:got_base_disk
ECHO.
ECHO %time% Found %IMGDIR%\%BASEDISK%
ECHO.
ECHO %time% Initialization done. Hit any key to continue.
ECHO.
PAUSE
REM vim: set ai ts=4 sw=4 et ft=dosbatch: