Revision d9a44dd0
Added by Daniel Lobato Garcia over 6 years ago
app/views/unattended/provisioning_templates/snippet/_epel.erb | ||
---|---|---|
name: epel
|
||
-%>
|
||
<%
|
||
http_proxy = @host.params['http-proxy'] ? " --httpproxy #{@host.params['http-proxy']}" : nil
|
||
http_port = @host.params['http-proxy-port'] ? " --httpport #{@host.params['http-proxy-port']}" : nil
|
||
http_proxy = host_param('http-proxy') ? " --httpproxy #{host_param('http-proxy')}" : nil
|
||
http_port = host_param('http-proxy-port') ? " --httpport #{host_param('http-proxy-port')}" : nil
|
||
os_major = @host.operatingsystem.major.to_i
|
||
-%>
|
||
rpm -Uvh<%= http_proxy %><%= http_port %> https://dl.fedoraproject.org/pub/epel/epel-release-latest-<%= os_major %>.noarch.rpm
|
Also available in: Unified diff
Release 1.16.0-RC1