Project

General

Profile

Refactor #235

More robust handling of installation media URIs

Added by Jochen Schalanda about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Low
Category:
Unattended installations
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Foreman's handling of installation media and their respective URIs should be more robust.

The attached patch file contains a proposed 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 or nfs URI scheme

The last point introduces a small regression: NFS shares now have to be entered in the URI scheme specified in RFC 2224 (http://www.ietf.org/rfc/rfc2224.txt): nfs://server/path/.../ instead of server:/path/.../

Associated revisions

Revision 7a481d2d (diff)
Added by Jochen Schalanda about 9 years ago

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/.../

History

#2 Updated by Jochen Schalanda about 9 years ago

(Re-) Generated patch file(s) with git format-patch and this time with only one resulting patch file...

#3 Updated by Anonymous about 9 years ago

  • Status changed from New to Ready For Testing
  • % Done changed from 0 to 100

#4 Updated by Ohad Levy about 9 years ago

  • Category set to Unattended installations
  • Assignee set to Jochen Schalanda
  • Target version set to 0.1-5

#5 Updated by Ohad Levy about 9 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF