Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: Jordi Massaguer Pla <[email protected]>
  • Loading branch information
jordimassaguerpla committed Dec 18, 2024
1 parent d7d04fa commit edb429a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testsuite/features/support/remote_node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit edb429a

Please sign in to comment.