mirror of
https://github.com/ceph/ceph
synced 2024-12-25 04:43:17 +00:00
821511bd32
Many of the files in qa/qa_scripts/openstack had incorrect shebang lines: the bang was missing. This means that those scripts would execute using the calling user's login shell, which is doubtless not what the author intended. Now they'll always use bash. Two scripts do not need shebangs, because they contain only library functions and don't execute anything. I removed their shebangs. Signed-off-by: Alan Somers <asomers@gmail.com>
29 lines
763 B
Bash
Executable File
29 lines
763 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Install Openstack.
|
|
# Usage: openstack <openstack-site> <ceph-monitor>
|
|
#
|
|
# This script installs Openstack on one node, and connects it to a ceph
|
|
# cluster on another set of nodes. It is intended to run from a third
|
|
# node.
|
|
#
|
|
# Assumes a single node Openstack cluster and a single monitor ceph
|
|
# cluster.
|
|
#
|
|
# The execs directory contains scripts to be run on remote sites.
|
|
# The files directory contains files to be copied to remote sites.
|
|
#
|
|
|
|
set -fv
|
|
source ./copy_func.sh
|
|
source ./fix_conf_file.sh
|
|
openstack_node=${1}
|
|
ceph_node=${2}
|
|
./packstack.sh $openstack_node $ceph_node
|
|
echo 'done running packstack'
|
|
sleep 60
|
|
./connectceph.sh $openstack_node $ceph_node
|
|
echo 'done connecting'
|
|
sleep 60
|
|
./image_create.sh $openstack_node $ceph_node
|