add deploy-nixops.sh

This commit is contained in:
Erik Arvstedt
2020-02-26 17:11:22 +01:00
committed by Jonas Nick
parent 0c74c365de
commit 5dadea310c
2 changed files with 52 additions and 0 deletions

View File

@@ -43,3 +43,14 @@
('destDir', 'string'),
('user', 'string'),
('group', 'string'),
--- a/nixops/ssh_util.py
+++ b/nixops/ssh_util.py
@@ -278,6 +278,7 @@ class SSH(object):
'timeout' specifies the SSH connection timeout.
"""
+ flags = shlex.split(os.getenv('NIXOPS_SSH_OPTS', '')) + flags
master = self.get_master(flags, timeout, user)
flags = flags + self._get_flags()
if logged: