EPEL rpm command fails if host is behind a proxy
Kickstart Default template contains this...
# install epel if we can <%= @epel -%>
Which results in this command during the kickstart install...
# install epel if we can su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm'
Which fails if the host is behind a proxy.
This is created by code in app/models/redhat.rb.
It would be nice if it could detect whether the host had a proxy configured, and if so modify the rpm command like so...
# install epel if we can su -c 'rpm --httphost PROXY_URL --httpport PROXYPORT -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm'
#1 Updated by Ohad Levy almost 11 years ago
- Status changed from New to Resolved
- Target version set to 1.0
this is a snippet instead, so you can simply update your snippet accordingly.