mirror of
https://github.com/ceph/ceph
synced 2024-12-13 15:08:33 +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>
17 lines
491 B
Bash
Executable File
17 lines
491 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Set up a vm on packstack. Use the iso in RHEL_ISO (defaults to home dir)
|
|
#
|
|
set -fv
|
|
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
|