summaryrefslogtreecommitdiffstats
path: root/qa/qa_scripts/openstack/ceph_install.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xqa/qa_scripts/openstack/ceph_install.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/qa/qa_scripts/openstack/ceph_install.sh b/qa/qa_scripts/openstack/ceph_install.sh
new file mode 100755
index 00000000..47831bd0
--- /dev/null
+++ b/qa/qa_scripts/openstack/ceph_install.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+#
+# Install a simple ceph cluster upon which openstack images will be stored.
+#
+set -fv
+ceph_node=${1}
+source copy_func.sh
+copy_file files/$OS_CEPH_ISO $ceph_node .
+copy_file execs/ceph_cluster.sh $ceph_node . 0777
+copy_file execs/ceph-pool-create.sh $ceph_node . 0777
+ssh $ceph_node ./ceph_cluster.sh $*