2.8. Adding Installation Media to Satellite
Installation media are sources of packages that Satellite Server uses to install a base operating system on a machine from an external repository. You can use this parameter to install third-party content. Red Hat content is delivered through repository syncing instead.
Installation media must be in the format of an operating system installation tree, and must be accessible to the machine hosting the installer through an HTTP URL. You can view installation media by navigating to Hosts > Installation Media menu.
By default, Satellite includes installation media for some official Linux distributions. Note that some of those installation media are targeted for a specific version of an operating system. For example CentOS mirror (7.x) must be used for CentOS 7 or earlier, and CentOS mirror (8.x) must be used for CentOS 8 or later.
If you want to improve download performance when using installation media to install operating systems on multiple host, you must modify the installation medium’s Path to point to the closest mirror or a local copy.
Procedure
- In the Satellite web UI, navigate to Hosts > Installation Media and click Create Medium.
- In the Name field, enter a name to represent the installation media entry.
In the Path enter the URL or NFS share that contains the installation tree. You can use following variables in the path to represent multiple different system architectures and versions:
-
$arch- The system architecture. -
$version- The operating system version. -
$major- The operating system major version. $minor- The operating system minor version.Example HTTP path:
http://download.example.com/centos/$version/Server/$arch/os/
http://download.example.com/centos/$version/Server/$arch/os/Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example NFS path:
nfs://download.example.com:/centos/$version/Server/$arch/os/
nfs://download.example.com:/centos/$version/Server/$arch/os/Copy to Clipboard Copied! Toggle word wrap Toggle overflow Synchronized content on Capsule Servers always uses an HTTP path. Capsule Server managed content does not support NFS paths.
-
-
From the Operating system family list, select the distribution or family of the installation medium. For example, CentOS and Fedora are in the
Red Hatfamily. - Click the Organizations and Locations tabs, to change the provisioning context. Satellite Server adds the installation medium to the set provisioning context.
- Click Submit to save your installation medium.
For CLI Users
Create the installation medium using the
hammer medium createcommand:hammer medium create --name "CustomOS" --os-family "Redhat" \ --path 'http://download.example.com/centos/$version/Server/$arch/os/' \ --organizations "My_Organization" --locations "My_Location"
# hammer medium create --name "CustomOS" --os-family "Redhat" \ --path 'http://download.example.com/centos/$version/Server/$arch/os/' \ --organizations "My_Organization" --locations "My_Location"Copy to Clipboard Copied! Toggle word wrap Toggle overflow