libkas: Remove config/context parameters from ssh functions

We can obtain the global context now.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka
2018-08-24 19:18:04 +02:00
committed by Daniel Wagner
parent 52fdc4f4ae
commit 448107781e
2 changed files with 12 additions and 10 deletions

View File

@@ -124,8 +124,8 @@ class SetupSSHAgent(Command):
return 'setup_ssh_agent'
def execute(self, ctx):
ssh_setup_agent(ctx)
ssh_no_host_key_check(ctx)
ssh_setup_agent()
ssh_no_host_key_check()
class CleanupSSHAgent(Command):
@@ -137,7 +137,7 @@ class CleanupSSHAgent(Command):
return 'cleanup_ssh_agent'
def execute(self, ctx):
ssh_cleanup_agent(ctx)
ssh_cleanup_agent()
class SetupEnviron(Command):