aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2019-12-23 15:23:17 -0500
committerBryn M. Reeves <bmr@redhat.com>2020-02-14 19:27:32 +0000
commit1e6a6ef1457a74dfe01b57f637921ae52c0ab6d3 (patch)
tree61abc37a6114d61f62afc5024b58f176846913c3
parent609beba4eadf480c4c0d7053bcc0659abbe974ea (diff)
downloadsos-1e6a6ef1457a74dfe01b57f637921ae52c0ab6d3.tar.gz
[redhat] Define policy-default FTP location and credentials
Adds connection and authentication defaults to the Red Hat policy to use the publicly available dropbox that Red Hat Global Support Services makes available for support cases. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/policies/redhat.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py
index 99d7b501..eab3abb4 100644
--- a/sos/policies/redhat.py
+++ b/sos/policies/redhat.py
@@ -36,6 +36,9 @@ class RedHatPolicy(LinuxPolicy):
_host_sysroot = '/'
default_scl_prefix = '/opt/rh'
name_pattern = 'friendly'
+ upload_url = 'dropbox.redhat.com'
+ upload_user = 'anonymous'
+ upload_directory = '/incoming'
def __init__(self, sysroot=None):
super(RedHatPolicy, self).__init__(sysroot=sysroot)