]> git.proxmox.com Git - ceph.git/blob - ceph/qa/qa_scripts/openstack/packstack.sh
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / qa / qa_scripts / openstack / packstack.sh
1 #/bin/bash -fv
2 #
3 # Install openstack by running packstack.
4 #
5 # Implements the operations in:
6 # https://docs.google.com/document/d/1us18KR3LuLyINgGk2rmI-SVj9UksCE7y4C2D_68Aa8o/edit?ts=56a78fcb
7 #
8 # The directory named files contains a template for the kilo.conf file used by packstack.
9 #
10 source ./copy_func.sh
11 source ./fix_conf_file.sh
12 openstack_node=${1}
13 ceph_node=${2}
14
15 copy_file execs/openstack-preinstall.sh $openstack_node . 0777
16 fix_conf_file $openstack_node kilo .
17 ssh $openstack_node sudo ./openstack-preinstall.sh
18 sleep 240
19 ssh $openstack_node sudo packstack --answer-file kilo.conf