
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
32 lines
1.2 KiB
Batchfile
32 lines
1.2 KiB
Batchfile
ECHO.
|
|
ECHO %time% Initialization done. Hit any key to continue.
|
|
ECHO.
|
|
PAUSE
|
|
|
|
ECHO VBoxManage hostonlyif create
|
|
VBoxManage hostonlyif create
|
|
IF %errorlevel% NEQ 0 GOTO :vbm_error
|
|
|
|
ECHO VBoxManage hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter" --ip %MGMTNET% --netmask 255.255.255.0
|
|
VBoxManage hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter" --ip %MGMTNET% --netmask 255.255.255.0
|
|
IF %errorlevel% NEQ 0 GOTO :vbm_error
|
|
|
|
ECHO VBoxManage hostonlyif create
|
|
VBoxManage hostonlyif create
|
|
IF %errorlevel% NEQ 0 GOTO :vbm_error
|
|
|
|
ECHO VBoxManage hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter #2" --ip %DATANET% --netmask 255.255.255.0
|
|
VBoxManage hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter #2" --ip %DATANET% --netmask 255.255.255.0
|
|
IF %errorlevel% NEQ 0 GOTO :vbm_error
|
|
|
|
ECHO VBoxManage hostonlyif create
|
|
VBoxManage hostonlyif create
|
|
IF %errorlevel% NEQ 0 GOTO :vbm_error
|
|
|
|
ECHO VBoxManage hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter #3" --ip %APINET% --netmask 255.255.255.0
|
|
VBoxManage hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter #3" --ip %APINET% --netmask 255.255.255.0
|
|
IF %errorlevel% NEQ 0 GOTO :vbm_error
|
|
|
|
REM vim: set ai ts=4 sw=4 et ft=dosbatch:
|
|
|