Test improvements and fixes for image creation
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / openstackrapid / deploycentos1.sh
1 #!/bin/bash
2
3 ##
4 ## Copyright (c) 2010-2018 Intel Corporation
5 ##
6 ## Licensed under the Apache License, Version 2.0 (the "License");
7 ## you may not use this file except in compliance with the License.
8 ## You may obtain a copy of the License at
9 ##
10 ##     http://www.apache.org/licenses/LICENSE-2.0
11 ##
12 ## Unless required by applicable law or agreed to in writing, software
13 ## distributed under the License is distributed on an "AS IS" BASIS,
14 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ## See the License for the specific language governing permissions and
16 ## limitations under the License.
17 ##
18 sudo sh -c '(echo "export RTE_TARGET=\"build\"";echo "export RTE_SDK=\"/root/dpdk\"";echo "export AESNI_MULTI_BUFFER_LIB_PATH=\"/home/centos/intel-ipsec-mb-0.49\"";) >> /root/.bashrc'
19 sudo yum install deltarpm -y
20 sudo yum update -y
21 sudo yum-config-manager --add-repo http://www.nasm.us/nasm.repo
22 sudo yum install git wget gcc unzip libpcap-devel ncurses-devel libedit-devel lua-devel kernel-devel iperf3 pciutils numactl-devel vim tuna openssl-devel nasm -y
23 # Enabling root ssh access
24 sudo sed -i '/disable_root: 1/c\disable_root: 0' /etc/cloud/cloud.cfg
25 # Reboot, before continuing with deploycentos2.sh
26 sudo reboot