Project

General

Profile

Feature #11020

support for site medium path variable

Added by Max Kovgan about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Unattended installations
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

currently medium path can be set using variables specified in OperatingSystem::interpolate_medium_vars().
they are:
  • arch
  • major
  • minor
  • version
  • release

This allows the same path format for various combinations of the above params [except #11019]

But often a user wants to have the same path structure in several sites, so that I could specify:

http://download.$site.example.com/path/to/$arch/$major.$minor/$version-$release

this allows to have the same structure across sites/organizations

This feature will require to calculate current operating system's site, and extrapolate it in OperatingSystem::interpolate_medium_vars()

History

#1 Updated by Dominic Cleal about 7 years ago

  • Category changed from Organizations and Locations to Unattended installations

Probably best not to rely on multi-org (if that was the intention), but to consider more expansions in installation media URLs, such as domain or even ERB like parameters. The trouble will be that there isn't always the context of a host when expanding, e.g. in host group provisioning.

Also available in: Atom PDF