Bug #9918
closedkickstart template for mirrorlist with proxy has problem in .repo file
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