Sandro Bonazzola has uploaded a new change for review. Change subject: ux: added disclaimer on collected data ......................................................................
ux: added disclaimer on collected data Change-Id: Ia65a0b37553026471279f67f50c4657441db673e Signed-off-by: Sandro Bonazzola <sbona...@redhat.com> --- M src/__main__.py 1 file changed, 17 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-log-collector refs/changes/50/31250/1 diff --git a/src/__main__.py b/src/__main__.py index 80ee0e4..a73dbf2 100755 --- a/src/__main__.py +++ b/src/__main__.py @@ -32,6 +32,7 @@ import dateutil.parser import dateutil.tz as tz import tempfile +import textwrap import atexit import time import socket @@ -1368,6 +1369,22 @@ print('This tool requires root permissions to run.') sys.exit(ExitCodes.CRITICAL) else: + for line in ( + _( + 'This command will collect system configuration and ' + 'diagnostic information from this system.' + ), + _( + 'The generated archive may contain data considered sensitive ' + 'and its content should be reviewed by the originating ' + 'organization before being passed to any third party.' + ), + _( + 'No changes will be made to system configuration.\n' + ), + ): + print('\n'.join(textwrap.wrap(line))) + setup_pg_defaults() def comma_separated_list(option, opt_str, value, parser): -- To view, visit http://gerrit.ovirt.org/31250 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia65a0b37553026471279f67f50c4657441db673e Gerrit-PatchSet: 1 Gerrit-Project: ovirt-log-collector Gerrit-Branch: master Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches