Alex | 3bc29ae | 2021-04-02 18:06:00 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | cd /artifacts |
| 3 | # Installing prerequisites |
| 4 | apt -y update |
Ievgeniia Zadorozhna | 7b89e5b | 2021-06-10 17:32:07 +0300 | [diff] [blame] | 5 | export TZ="America/Chicago" |
| 6 | ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone |
Ievgeniia Zadorozhna | 101c5f6 | 2022-07-26 17:12:53 +0300 | [diff] [blame] | 7 | apt -y install python3-pip vim git iperf3 iperf mtr htop iputils-ping traceroute tcpdump wget iproute2 curl |
Ievgeniia Zadorozhna | 7b89e5b | 2021-06-10 17:32:07 +0300 | [diff] [blame] | 8 | pip3 install python-openstackclient python-neutronclient python-heatclient pyghmi python-octaviaclient |
Alex | 3bc29ae | 2021-04-02 18:06:00 -0500 | [diff] [blame] | 9 | |
| 10 | mkdir /artifacts/cmp-check && cd /artifacts/cmp-check |
| 11 | cp /artifacts/res-files/scripts/prepare.sh ./ |
Ievgeniia Zadorozhna | 615b1ba | 2021-05-13 14:54:51 +0300 | [diff] [blame] | 12 | cp /artifacts/res-files/scripts/cmp_check.sh ./ |
Alex | 3bc29ae | 2021-04-02 18:06:00 -0500 | [diff] [blame] | 13 | cp /artifacts/res-files/cleanup.sh ./ |