Project

General

Profile

Actions

Bug #9918

closed

kickstart template for mirrorlist with proxy has problem in .repo file

Added by Shivendra Ashish over 9 years ago. Updated about 7 years ago.

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

Description

I'm trying to use Kickstart template for deploying Centos 7.0 using foreman. There is a line in the template file
repo --name="EPEL" --mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-<%= @host.operatingsystem.major >&arch=<= @host.architecture ><= proxy_string %>

So while deploying due to above repo command yum will try to have EPEL.repo file which will have mirrorlist and proxy. But If I see EPEL.repo file it will have an entry like this
"mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64proxy=http://abc.com:8080"
which is woring, actually it should create the entry like this
"mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64
proxy=http://abc.com:8080"

Meaning proxy should go in next line. Since proxy is coming in same line of mirrorlist, my deployment is failing in package installation because it should not able to retrieve the correct mirror.

I want to make this defect as high priority because there is no workaround for this.
Only workaround I could figure out to use baseurl instead mirrorlist.
Please suggest if you this this defect is normal priority


Files

kickstart default kickstart default 5.54 KB kickstart template preview Shivendra Ashish, 03/27/2015 05:59 AM
Actions

Also available in: Atom PDF