summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'build-gluster-org/scripts')
-rw-r--r--build-gluster-org/scripts/distributed-node-create.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-gluster-org/scripts/distributed-node-create.sh b/build-gluster-org/scripts/distributed-node-create.sh
index 7203d53..02077b9 100644
--- a/build-gluster-org/scripts/distributed-node-create.sh
+++ b/build-gluster-org/scripts/distributed-node-create.sh
@@ -11,3 +11,6 @@ ssh-keygen -f ${WORKSPACE}/key -t rsa -b 4096
# Install pyrax dependency
pip install pyrax
/opt/qa/distributed-tests/rackspace-server-manager.py create -n ${MACHINES_COUNT}
+
+#create ansible.cfg to set the private SSH key file path
+echo -e "[defaults]\nprivate_key_file = key" > ansible.cfg