This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
init.bat
74 lines (66 loc) · 3.41 KB
/
init.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
@ECHO OFF
setlocal
set PROJECT_HOME=%~dp0
set DEMO=CDK Install Demo
set AUTHORS=Andrew Block, Eric D. Schabell
set PROJECT=git@github.com:redhatdemocentral/cdk-install-demo.git
set PRODUCT=Container Development Kit
set CDK_HOME=%PROJECT_HOME%target
set SRC_DIR=%PROJECT_HOME%installs
set SUPPORT_DIR=%PROJECT_HOME%support
set PRJ_DIR=%PROJECT_HOME%projects
set CDK_PLUGINS_DIR=%CDK_HOME%\cdk\plugins
set CDK=cdk-2.2.0.zip
set CDK_DOWNLOAD_LINK=https://access.redhat.com/downloads/content/293/ver=2.2/rhel---7/2.2.0/x86_64/product-software
set WINDOWS_BOX=rhel-cdk-kubernetes-7.2-29.x86_64.vagrant-virtualbox.box
set CDK_BOX_VERSION=cdkv2
set VERSION=2.2.0
REM wipe screen.
cls
echo.
echo #######################################################################
echo ## ##
echo ## Setting up the %DEMO% ##
echo ## ##
echo ## ##
echo ## #### ### # # ##### ### ##### # # ##### #### ##
echo ## # # # ## # # # # # ## # # # # ##
echo ## # # # # # # # ##### # # # # ### #### ##
echo ## # # # # ## # # # # # ## # # # ##
echo ## ### ### # # # # # ##### # # ##### # # ##
echo ## ##
echo ## #### ##### # # # # ##### ##### ##
echo ## # # # # # # # # # ##
echo ## # # ### # # ### # # ##
echo ## # # # # # # # # # ##
echo ## #### ##### # # # ##### # ##
echo ## ##
echo ## ##
echo ## brought to you by %AUTHORS% ##
echo ## ##
echo ## %PROJECT% ##
echo ## ##
echo #######################################################################
echo.
call where vagrant >nul 2>&1
if %ERRORLEVEL% NEQ 0 (
echo Vagrant is required but not installed yet... download here: https://www.vagrantup.com/downloads.html.
GOTO :EOF
)
echo Vagrant is installed...
call where VirtualBox >nul 2>&1
if %ERRORLEVEL% NEQ 0 (
echo VirtualBox is required but not installed yet... downlaod here: https://www.virtualbox.org/wiki/Downloads
GOTO :EOF
)
echo VirtualBox is installed...
echo.
echo =======================================================================
echo = =
echo = Red Hat provides an installer for use on windows, please see =
echo = here for instructions and details: =
echo = =
echo = http://developers.redhat.com/products/cdk/get-started =
echo = =
echo =======================================================================
echo.