Revision c9d6c478
Added by Dmitri Dolguikh almost 11 years ago
- ID c9d6c478febab78d1543f89066c33e1ecf1059f8
app/views/unattended/kickstart.erb | ||
---|---|---|
|
||
<% if @host.operatingsystem.name == "Fedora" -%>
|
||
repo --name=fedora-everything --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-<%= @host.operatingsystem.major %>&arch=<%= @host.architecture %>
|
||
<% elsif @host.operatingsystem.family == "Redhat" and !@host.operatingsystem.name.match(/fedora/i) %>
|
||
<% elsif @host.operatingsystem.family == "Redhat" %>
|
||
repo --name="Extra Packages for Enterprise Linux" --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-<%= @host.operatingsystem.major %>&arch=<%= @host.architecture %>
|
||
<% end -%>
|
||
|
Also available in: Unified diff
fixes #2710 - removed a superfluous os name check that was tripping up safemode.