Package Hold

Version

  • Linux Control Center = 2.10.X or higher

Requirements

  • Hosts must be previously configured in the LCC database

Overview

  • This guide provides information and step-by-step instructions to configure Package Hold in the Linux Control Center.

Objective

  • Mark packages with the "Hold" flag to ensure they remain at their current version.

If there are packages marked as Hold on the host before importing it into LCC, it will be necessary to mark them again as "Hold" in the LCC console after import.

The Hold configuration follows the relationship of Host X Package, preventing the package from being modified regardless of which LCC package management action is performed.

Package Hold on Hosts

  1. To add packages to the Hold list of a host, go to the Hosts screen.

  2. Click on the row of the desired host and open the General tab.

  3. Select the packages in the Packages available to hold table and move them to the right table using the arrow button.

  4. Click Save.

  5. Done! From now on, any package management action performed on this host will respect the packages configured as "Hold", meaning those packages will not be modified.

Package Hold on Host Groups

  1. To apply the Hold configuration to a host group, go to the Host Groups screen.

  2. Click Manual.

  3. Click on the desired group.

  4. Scroll down to the Packages table, select the packages from the left table, and move them to the Packages in the group table on the right using the arrow button.

  5. Click Save.

  6. Done! From now on, any package management action performed on this host group will respect the packages configured as "Hold", meaning those packages will not be modified.

Package Hold Persist

  • This setting prevents the package from being modified even if the command is executed directly on the terminal of the hosts managed by LCC.

  1. Click Config.

  2. Click Parameters.

  3. Click Ansible.

  4. Check the option Package Hold Persist and click Save.

Last updated