Skip to content

Commit

Permalink
add debug nsswitch.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasyang2022 committed Oct 14, 2024
1 parent d85ffb6 commit 1683c7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/features/steps/behave_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def write(self, __b) -> int:

def call(host: str, port: int, cmdline: str, user: typing.Optional[str] = None):
subprocess.run(['ip', 'addr'])
subprocess.run(['cat', '/etc/nsswitch.conf'])
subprocess.run(['cat', '/etc/resolv.conf'])
subprocess.run(['cat', '/etc/hosts'])
subprocess.run(['strace', 'getent', 'hosts', 'hanode2'])
Expand Down

0 comments on commit 1683c7f

Please sign in to comment.