From edb429a5644df8c8d74cd3d1d1484a5987ac6a84 Mon Sep 17 00:00:00 2001 From: Jordi Massaguer Pla Date: Wed, 18 Dec 2024 13:09:45 +0000 Subject: [PATCH] DEBUG Signed-off-by: Jordi Massaguer Pla --- testsuite/features/support/remote_node.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/features/support/remote_node.rb b/testsuite/features/support/remote_node.rb index fecf048e3c6..4a2545f3273 100644 --- a/testsuite/features/support/remote_node.rb +++ b/testsuite/features/support/remote_node.rb @@ -37,6 +37,8 @@ def initialize(host, port: 22) if @host == 'server' _out, _err, code = ssh('which mgrctl', host: @target) @has_mgrctl = code.zero? + puts "DEBUG JORDI; has mgrctl in #{@target}" if @has_mgrctl + puts "DEBUG JORDI; has NO mgrctl in #{@target}" unless @has_mgrctl # Remove /etc/motd inside the container, or any output from run will contain the content of /etc/motd run('rm -f /etc/motd && touch /etc/motd') out, _code = run('sed -n \'s/^java.hostname *= *\(.\+\)$/\1/p\' /etc/rhn/rhn.conf')