diff --git a/tmt/guest/__init__.py b/tmt/guest/__init__.py index 928982def5..a7712e7f28 100644 --- a/tmt/guest/__init__.py +++ b/tmt/guest/__init__.py @@ -2829,7 +2829,11 @@ class GuestSshData(GuestData): default=DEFAULT_USER, option=('-u', '--user'), metavar='NAME', - help='A username to use for all guest operations.', + help=""" + Username to use when connecting to the guest via SSH. Unless + ``become`` is used, tests and other user-provided commands + will be invoked under this user account. + """, ) key: list[Path] = field( default_factory=list, diff --git a/tmt/steps/provision/podman.py b/tmt/steps/provision/podman.py index 32355c064f..9ce600a51b 100644 --- a/tmt/steps/provision/podman.py +++ b/tmt/steps/provision/podman.py @@ -52,7 +52,13 @@ class PodmanGuestData(tmt.guest.GuestData): default=DEFAULT_USER, option=('-u', '--user'), metavar='USERNAME', - help='Username to use for all guest operations.', + help=""" + Username to pass to ``podman run`` command when starting the + container representing the guest. It will override ``USER`` + directive from the image. Unless ``become`` is used, tests + and other user-provided commands will be invoked under this + user account. + """, ) force_pull: bool = field( default=False,