Project

General

Profile

« Previous | Next » 

Revision 7a481d2d

Added by Jochen Schalanda about 14 years ago

  • ID 7a481d2df8548ebb0651f38331877fbad901a3f3

fixes #235 - Small refactoring of the media handling for operating system families: * Use URI class for any URI related operations * Added substitution for $version, $major and $minor in media path * Force use of http(s)|ftp|nfs URI schema: NFS shares have now to be entered in URI form: nfs://server/path/.../ instead of server:/path/.../

View differences:

app/views/medias/_form.html.erb
</p >
<small>
The path to the media, can be a URL or a valid NFS server (exclusive of the architecture).<br />
for example http://mirror.averse.net/centos/6.0/os/$arch where <b>$arch</b> will be substituted for the host actual OS architecture.
for example http://mirror.averse.net/centos/$version/os/$arch where <strong>$arch</strong> will be substituted for the host's actual OS architecture<br />
and <strong>$version</strong>, <strong>$major</strong> and <strong>$minor</strong> will be substituted for the version of the operating system.
</small>
<p>
<%= f.label :operatingsystem_id %><br />

Also available in: Unified diff