]> git.proxmox.com Git - ceph.git/blob - ceph/src/ceph-volume/ceph_volume/tests/functional/scripts/generate_ssh_config.sh
update sources to v12.1.3
[ceph.git] / 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