Show Table of Contents
5.6. Removing Lifecycle Environments from the Red Hat Satellite Capsule Server
There are multiple reasons to remove lifecycle environments from the Red Hat Satellite Capsule Server. For example:
- When lifecycle environments are no longer relevant to the host systems
- When lifecycle environments have been incorrectly added to the Satellite Capsule Server
To remove a lifecycle environment from the Satellite Capsule Server:
- Log in to the Satellite Server CLI as the root user.
- Choose the desired Red Hat Satellite Capsule Server from the list and take note of its
id:# hammer capsule list
The Satellite Capsule Server's details can be verified using the command:# hammer capsule info --id capsule_id_number
- Verify the list of lifecycle environments currently attached to the Red Hat Capsule Server and note down the
environment id:hammer capsule content lifecycle-environments --id capsule_id_number
- Remove the lifecycle environment from the Satellite Capsule Server:
# hammer capsule content remove-lifecycle-environment --id capsule_id_number --environment-id environment_id
Where:--idis the Satellite Capsule Server's identification number.--environment-idis the lifecycle environment's identification number.
Repeat this step for every lifecycle environment to be removed from the Capsule Server. - Synchronize the content from the Satellite Server's environment to the Satellite Capsule Server:
# hammer capsule content synchronize --id capsule_id_number
Result:
The chosen environments are removed from the Satellite Capsule Server.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.