Problem:
unable to provision fedora through foreman.
Expected outcome:
sucessfully installed fedora
Foreman and Proxy versions:
1.20.1.35-1
Foreman and Proxy plugin versions:
Distribution and version:
CentOS 7
Other relevant data:
I am able to provision CentOS.
In default Kickstart file there is a if clause, which is causing to use mirror from internet for installation. Is there a reason why? I want to use the local synced repositories for provisioning. How to provide this?
<% if host.operatingsystem.name == ‘Fedora’ -%>
repo --name=fedora-everything --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-<%= host.operatingsystem.major %>&arch=<%= host.architecture %><%= proxy_string %> --proxy=“http://xyz:8000”
<% end -%>
causes in:
repo --name=fedora-everything --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-31&arch=x86_64