blob: 4a014dc70c53b5bffbd503eb729e7e974d7a41ff [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 Morales9d205bc2017-12-01 17:52:07 -080023 echo "source /var/onap/${serv}" >> ~/.profile
Victor Morales89ce3212017-06-16 18:32:48 -050024done
Victor Morales9d205bc2017-12-01 17:52:07 -080025
26echo "source /var/onap/functions" >> ~/.profile