blob: 3b5017a66f08c56e0b2164951cde473c4501e841 [file] [log] [blame]
Victor Morales89ce3212017-06-16 18:32:48 -05001#!/bin/bash
2
Victor Morales7abf1a82017-11-06 09:20:27 -08003if [[ "$debug" == "True" ]]; then
4 set -o xtrace
5fi
Victor Morales89ce3212017-06-16 18:32:48 -05006
Victor Morales4ab71c12017-11-08 07:28:28 -08007if [[ "$1" == "openstack" ]]; then
8 source /var/onap/openstack
9 deploy_openstack
10 exit
11fi
12
Victor Morales89ce3212017-06-16 18:32:48 -050013source /var/onap/functions
14
Victor Morales332d7d82017-11-06 11:51:37 -080015update_repos
Victor Morales89ce3212017-06-16 18:32:48 -050016create_configuration_files
Victor Morales89ce3212017-06-16 18:32:48 -050017configure_bind
18
19for serv in $@; do
20 source /var/onap/${serv}
21 configure_service ${serv}_serv.sh
22 init_${serv}
Victor Moralesfa9eb9c2017-12-18 09:56:13 -080023 echo "source /var/onap/${serv}" >> ~/.bashrc
Victor Morales89ce3212017-06-16 18:32:48 -050024done
Victor Morales9d205bc2017-12-01 17:52:07 -080025
Victor Moralesfa9eb9c2017-12-18 09:56:13 -080026echo "source /var/onap/functions" >> ~/.bashrc