Follow the kilo install-guide (and avoid confusion with the storage network) by renaming DATA_NET to TUNNEL_NET. Change-Id: I3bdffd3bf92cfa1c079af8085220ccac7e614843
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 %TUNNELNET% --netmask 255.255.255.0
|
|
VBoxManage hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter #2" --ip %TUNNELNET% --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:
|
|
|