2016-05-16 21:33:39 +00:00
|
|
|
#/bin/bash -fv
|
|
|
|
#
|
2016-07-21 21:03:13 +00:00
|
|
|
# Set up a vm on packstack. Use the iso in RHEL_ISO (defaults to home dir)
|
2016-05-16 21:33:39 +00:00
|
|
|
#
|
|
|
|
source ./copy_func.sh
|
|
|
|
source ./fix_conf_file.sh
|
|
|
|
openstack_node=${1}
|
|
|
|
ceph_node=${2}
|
|
|
|
|
2016-07-21 21:03:13 +00:00
|
|
|
RHEL_ISO=${RHEL_ISO:-~/rhel-server-7.2-x86_64-boot.iso}
|
|
|
|
copy_file ${RHEL_ISO} $openstack_node .
|
2016-05-16 21:33:39 +00:00
|
|
|
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
|