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:
committed by
Daniel Wagner
parent
52fdc4f4ae
commit
448107781e
@@ -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):
|
||||
|
Reference in New Issue
Block a user