mirror of
https://github.com/ceph/ceph
synced 2024-12-20 10:23:24 +00:00
69c12e8d3b
Also fix iso rhel handling in openstack script Updated openstack README. Fixes: http://tracker.ceph.com/issues/16770 Signed-off-by: Warren Usui <wusui@redhat.com>
16 lines
478 B
Bash
Executable File
16 lines
478 B
Bash
Executable File
#/bin/bash -fv
|
|
#
|
|
# Set up a vm on packstack. Use the iso in RHEL_ISO (defaults to home dir)
|
|
#
|
|
source ./copy_func.sh
|
|
source ./fix_conf_file.sh
|
|
openstack_node=${1}
|
|
ceph_node=${2}
|
|
|
|
RHEL_ISO=${RHEL_ISO:-~/rhel-server-7.2-x86_64-boot.iso}
|
|
copy_file ${RHEL_ISO} $openstack_node .
|
|
copy_file execs/run_openstack.sh $openstack_node . 0755
|
|
filler=`date +%s`
|
|
ssh $openstack_node ./run_openstack.sh "${openstack_node}X${filler}" rhel-server-7.2-x86_64-boot.iso
|
|
ssh $ceph_node sudo ceph df
|