271448cee6
The files added in this changeset are used by osbash as templates when the user requests the creation of Windows batch files. The names of the templates end on _bat rather than .bat because some mail providers refuse to deliver .bat files even within archives. The generated Windows batch files will have the proper extension (.bat). Change-Id: I5dbed4bc6a4e30b50693208812d3dbfebecb2f19 Partial-Bug: 1312764 Implements: blueprint openstack-training-labs
25 lines
514 B
Batchfile
25 lines
514 B
Batchfile
ECHO %time% Cleaning up autostart and log directories
|
|
DEL /S /Q %AUTODIR%
|
|
DEL /S /Q %LOGDIR%
|
|
|
|
ECHO %time% Looking for %IMGDIR%\%INSTALLFILE%
|
|
IF EXIST %IMGDIR%\%INSTALLFILE% goto got_install_iso
|
|
ECHO.
|
|
ECHO %INSTALLFILE% not found in %IMGDIR%.
|
|
ECHO.
|
|
ECHO To proceed, I need the install ISO from
|
|
ECHO %ISOURL%
|
|
ECHO.
|
|
goto :terminate
|
|
|
|
:got_install_iso
|
|
ECHO.
|
|
ECHO %time% Found %IMGDIR%\%INSTALLFILE%
|
|
ECHO.
|
|
ECHO %time% Initialization done. Hit any key to continue.
|
|
ECHO.
|
|
PAUSE
|
|
|
|
REM vim: set ai ts=4 sw=4 et ft=dosbatch:
|
|
|