Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
initial code repo
[stor4nfv.git]
/
src
/
ceph
/
src
/
ceph-volume
/
ceph_volume
/
tests
/
functional
/
scripts
/
generate_ssh_config.sh
1
#!/bin/bash
2
# Generate a custom ssh config from Vagrant so that it can then be used by
3
# ansible.cfg
4
5
path=$1
6
7
if [ $# -eq 0 ]
8
then
9
echo "A path to the scenario is required as an argument and it wasn't provided"
10
exit 1
11
fi
12
13
cd "$path"
14
vagrant ssh-config > vagrant_ssh_config