From cd0eb16a5f90666d333ca3434f19ceb3a5735869 Mon Sep 17 00:00:00 2001 From: troymc Date: Mon, 5 Sep 2016 14:52:42 +0200 Subject: [PATCH] Fixed fabfile-monitor.py to use locally-generated SSH key --- deploy-cluster-aws/fabfile-monitor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy-cluster-aws/fabfile-monitor.py b/deploy-cluster-aws/fabfile-monitor.py index 4d26097b..8d2d282c 100644 --- a/deploy-cluster-aws/fabfile-monitor.py +++ b/deploy-cluster-aws/fabfile-monitor.py @@ -10,12 +10,14 @@ from fabric.api import sudo, env from fabric.api import task from fabric.operations import put, run +from ssh_key import ssh_key_path + # Ignore known_hosts # http://docs.fabfile.org/en/1.10/usage/env.html#disable-known-hosts env.disable_known_hosts = True env.user = 'ubuntu' -env.key_filename = 'pem/bigchaindb.pem' +env.key_filename = ssh_key_path @task