4
4
# Exit of there is an error
5
5
set -e
6
6
7
- # Get the disks
7
+ # HercControl
8
+ wget -nv https://github.com/adesutherland/HercControl/releases/download/v1.1.0/HercControl-Ubuntu.zip
9
+ unzip HercControl-Ubuntu.zip
10
+ chmod +x HercControl-Ubuntu/herccontrol
11
+ cp HercControl-Ubuntu/herccontrol /usr/local/bin
12
+ rm -r HercControl-Ubuntu
13
+ rm HercControl-Ubuntu.zip
14
+
15
+ # Get the VM disks
8
16
wget -nv https://github.com/adesutherland/vm-370/releases/download/v1.3.4/vm370.zip
9
17
unzip vm370.zip
10
18
rm vm370.zip
11
19
12
- # Compress disks
13
- hercules -f hercules.conf -d > /dev/null 2> /dev/null &
14
- herccontrol " sfc*" -w " HHCCD092I"
15
- herccontrol " sfk* 3" -w " HHCCD092I"
16
- herccontrol " exit"
17
-
18
20
# Run sanity test
19
21
hercules -f hercules.conf -d > /dev/null 2> /dev/null &
20
22
herccontrol " ipl 141" -w " USER DSC LOGOFF AS AUTOLOG1"
@@ -25,4 +27,31 @@ herccontrol "/listf * * a" -w "^Ready"
25
27
herccontrol " /logoff" -w " ^VM/370 Online"
26
28
herccontrol " /logon operator operator" -w " RECONNECTED AT"
27
29
herccontrol " /shutdown" -w " ^HHCCP011I"
30
+
31
+ # YATA - Ubuntu
32
+ wget -nv https://github.com/adesutherland/yata/releases/download/v1.1.1/YATA-Ubuntu.zip
33
+ unzip YATA-Ubuntu.zip
34
+ chmod +x YATA-Ubuntu/yata
35
+ cp YATA-Ubuntu/yata /usr/local/bin
36
+ rm -r YATA-Ubuntu
37
+ rm YATA-Ubuntu.zip
38
+
39
+ # YATA - CMS
40
+ wget -nv https://github.com/adesutherland/yata/releases/download/v1.1.1/YATA-CMS.zip
41
+ unzip YATA-CMS.zip
42
+ chmod +x YATA-CMS/cmsinstall.sh
43
+ mkdir io
44
+ cp YATA-CMS/cmsinstall.sh io
45
+ cp YATA-CMS/yatabin.aws io
46
+ cd io
47
+ ./cmsinstall.sh
48
+ cd ..
49
+ rm -r io
50
+ rm -r YATA-CMS
51
+ rm YATA-CMS.zip
52
+
53
+ # Compress disks
54
+ # hercules -f hercules.conf -d >/dev/null 2>/dev/null &
55
+ herccontrol " sfc*" -w " HHCCD092I"
56
+ herccontrol " sfk* 3" -w " HHCCD092I"
28
57
herccontrol " exit"
0 commit comments