Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Update from offline local repository with a predefined release.

    Posted on

    Hi all,

    i have a lab which is consisted of 3 servers. One as management (No internet connection. Acts as offline repository), one as remote (No internet connection) and one for getting all the latest updates from RHN (Online updater).

    I would like to keep the remote one updated on a specific version (7.2) by "locking" it's kernel's release using the following commands:

    subscription-manager --release=7.2
    yum clean all
    

    It's .repo files stored in "/etc/yum.repos.d" are edited and the baseurl points to management servers' HTTP server where all the latest repo packages are residing (after transferred from online updater).

    Problem:
    Even though all machines have been registered with a valid RHEL Server EUS subscription and even though release is set to 7.2, when remote is updated it's kernel gets upgraded to 7.5.

    Notes:
    I have removing the contents of folder "/var/cache/yum" and then "yum clean all" but result is the same.

    Is the feature of setting a RHEL release working only when updating while being online and downloading from RHN?

    Any help would be appreciated.

    Thanks

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat