From 2125e8dc1ee63de4dbfbcb88a4107061c8c728ec Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 29 Jun 2011 10:40:14 -0700 Subject: [PATCH] include @hostname in owner --- teuthology/run.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teuthology/run.py b/teuthology/run.py index 8064a55a3affd..aa5bc85e0316d 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -2,6 +2,7 @@ import argparse import os import yaml import getpass +import socket def config_file(string): config = {} @@ -104,7 +105,7 @@ def main(): if ctx.owner is not None: ctx.summary['owner'] = ctx.owner else: - ctx.summary['owner'] = getpass.getuser(); + ctx.summary['owner'] = getpass.getuser() + '@' + socket.gethostname() if ctx.description is not None: ctx.summary['description'] = ctx.description -- 2.39.5