diff --git a/robottelo/cli/base.py b/robottelo/cli/base.py index 8d258500b27..d276cd741fa 100644 --- a/robottelo/cli/base.py +++ b/robottelo/cli/base.py @@ -200,7 +200,7 @@ def execute( command, ) response = ssh.command( - cmd.encode('utf-8'), + cmd, hostname=hostname or cls.hostname or settings.server.hostname, output_format=output_format, timeout=timeout,