NONRTRIC-946: Servicemanager - Add Kong data plane and control plane
[it/dep.git] / smo-install / scripts / layer-0 / 0-setup-kud-node.sh
1 #!/bin/bash
2
3 ###
4 # ============LICENSE_START=======================================================
5 # ORAN SMO Package
6 # ================================================================================
7 # Copyright (C) 2021 AT&T Intellectual Property. All rights
8 #                             reserved.
9 # ================================================================================
10 # Licensed under the Apache License, Version 2.0 (the "License");
11 # you may not use this file except in compliance with the License.
12 # You may obtain a copy of the License at
13 #
14 # http://www.apache.org/licenses/LICENSE-2.0
15 #
16 # Unless required by applicable law or agreed to in writing, software
17 # distributed under the License is distributed on an "AS IS" BASIS,
18 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 # See the License for the specific language governing permissions and
20 # limitations under the License.
21 # ============LICENSE_END============================================
22 # ===================================================================
23
24 ###
25
26 echo '### Installing some TOOLS  ###'
27 apt-get update -y
28 apt-get upgrade -y
29 apt-get install -y python3-pip python3.8 maven
30 update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
31 pip install pipenv
32
33 echo '### Installing the K8S cluster using MULTICLOUD KUD INSTALL ###'
34 ../../multicloud-k8s/kud/hosting_providers/baremetal/aio.sh
35