ranger/tools/ranger_create_db.sh
stewie925 39bc94ac17 Fix ranger database scripts
Change-Id: Ic1146f9500f3f1c7346819f7e4a7ffcf5520c84a
2018-05-24 20:24:49 -05:00

27 lines
717 B
Bash
Executable File

root_dir=/opt/stack/ranger
tools_dir=/opt/stack/ranger/tools
cd ..
cd orm/services/audit_trail_manager/scripts/shell_scripts/
bash create_db.sh
cd $root_dir
cd orm/services/customer_manager/scripts/shell_scripts/
bash create_db.sh
bash update_db.sh
cd $root_dir
cd orm/services/flavor_manager/scripts/shell_scripts/
bash create_db.sh
cd $root_dir
cd orm/services/id_generator/scripts/shell_scripts/
bash create_db.sh
cd $root_dir
cd orm/services/image_manager/scripts/shell_scripts/
bash create_db.sh
cd $root_dir
cd orm/services/region_manager/scripts/shell_scripts/
bash create_db.sh
cd $root_dir
cd orm/services/resource_distributor/scripts/shell_scripts/
bash create_db.sh
echo "Databases Created!"
cd $tools_dir