stark, steven | f351942 | 2019-12-05 14:14:32 -0800 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # Copyright 2019 AT&T Intellectual Property. All rights reserved. |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
| 17 | |
| 18 | ONAP_CONF=$1 |
| 19 | CLOUD_CONF=$2 |
| 20 | |
| 21 | pushd . |
| 22 | |
| 23 | cd $DIR/post-install |
| 24 | |
| 25 | for filename in *; do |
| 26 | if [ -f $filename ]; then |
| 27 | ./$filename "$ONAP_CONF" "$CLOUD_CONF" |
| 28 | fi |
| 29 | done |
| 30 | |
| 31 | popd |