Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to change repo file template to skip proxy for local repository?

Re: How to change repo file template to skip proxy for local repository?

New Contributor

It failed. (I think it timed out because its taking too much time for each step.)

However, install is progressing on retry. Earlier it used to fail on first component install. Now its passing the steps. I verified the transferred repos on slaves are having correct proxy setting.

Highlighted

Re: How to change repo file template to skip proxy for local repository?

New Contributor

FYI, for those who want to use the (non-deprecated) python:

/var/lib/ambari-server/resources/scripts/configs.py -u admin -p admin -a set -l <ambari-server hostname> -n <clustername> -c cluster-env -k repo_suse_rhel_template -v "[{{repo_id}}]
name={{repo_id}}
{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}
path=/
enabled=1
gpgcheck=0
proxy=_none_"