add --private-key option and related infrastructure to make paramiko work

with a private key file - not just an agent or pw
This commit is contained in:
Seth Vidal 2012-05-14 16:14:38 -04:00
commit 96ef6482c5
4 changed files with 10 additions and 4 deletions

View file

@ -34,6 +34,7 @@ DEFAULT_TIMEOUT = 10
DEFAULT_POLL_INTERVAL = 15
DEFAULT_REMOTE_USER = 'root'
DEFAULT_REMOTE_PASS = None
DEFAULT_PRIVATE_KEY_FILE = None
DEFAULT_SUDO_PASS = None
DEFAULT_SUDO_USER = 'root'
DEFAULT_REMOTE_PORT = 22