Project

General

Profile

Actions

Bug #1473

closed

EPEL rpm command fails if host is behind a proxy

Added by Matt Mencel about 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

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'

Actions #1

Updated by Ohad Levy almost 12 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.

Actions

Also available in: Atom PDF