Victor Morales | 89ce321 | 2017-06-16 18:32:48 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
Victor Morales | 7abf1a8 | 2017-11-06 09:20:27 -0800 | [diff] [blame] | 3 | if [[ "$debug" == "True" ]]; then |
| 4 | set -o xtrace |
| 5 | fi |
Victor Morales | 89ce321 | 2017-06-16 18:32:48 -0500 | [diff] [blame] | 6 | |
Victor Morales | 4ab71c1 | 2017-11-08 07:28:28 -0800 | [diff] [blame^] | 7 | if [[ "$1" == "openstack" ]]; then |
| 8 | source /var/onap/openstack |
| 9 | deploy_openstack |
| 10 | exit |
| 11 | fi |
| 12 | |
Victor Morales | 89ce321 | 2017-06-16 18:32:48 -0500 | [diff] [blame] | 13 | source /var/onap/functions |
| 14 | |
Victor Morales | 332d7d8 | 2017-11-06 11:51:37 -0800 | [diff] [blame] | 15 | update_repos |
Victor Morales | 89ce321 | 2017-06-16 18:32:48 -0500 | [diff] [blame] | 16 | create_configuration_files |
Victor Morales | 89ce321 | 2017-06-16 18:32:48 -0500 | [diff] [blame] | 17 | configure_bind |
| 18 | |
| 19 | for serv in $@; do |
| 20 | source /var/onap/${serv} |
| 21 | configure_service ${serv}_serv.sh |
| 22 | init_${serv} |
| 23 | done |