mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Fixed fabfile-monitor.py to use locally-generated SSH key
This commit is contained in:
parent
8fe034bb55
commit
cd0eb16a5f
@ -10,12 +10,14 @@ from fabric.api import sudo, env
|
|||||||
from fabric.api import task
|
from fabric.api import task
|
||||||
from fabric.operations import put, run
|
from fabric.operations import put, run
|
||||||
|
|
||||||
|
from ssh_key import ssh_key_path
|
||||||
|
|
||||||
# Ignore known_hosts
|
# Ignore known_hosts
|
||||||
# http://docs.fabfile.org/en/1.10/usage/env.html#disable-known-hosts
|
# http://docs.fabfile.org/en/1.10/usage/env.html#disable-known-hosts
|
||||||
env.disable_known_hosts = True
|
env.disable_known_hosts = True
|
||||||
|
|
||||||
env.user = 'ubuntu'
|
env.user = 'ubuntu'
|
||||||
env.key_filename = 'pem/bigchaindb.pem'
|
env.key_filename = ssh_key_path
|
||||||
|
|
||||||
|
|
||||||
@task
|
@task
|
||||||
|
Loading…
x
Reference in New Issue
Block a user