Skip to content

sipinski/redhat-satellite-cleanup-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

redhat-satellite-cleanup-scripts

A quick and dirty python script that can be used to cleanup duplicate content host registrations in Redhat Satellite 6, caused by multiple automated OS installations and registrations via kickstart.

The script connects to satellites postgres foreman database to get a list of duplicate system names and their UUIDs, then uses Satellite's hammer tool to remove all but the most recent registration for any duplicate content host. To avoid hammer from prompting you for satellite credentials, be sure to configure your password ~/.hammer/cli_config.yml

:foreman: :enable_module: true :host: 'https://localhost/' :username: 'username' :password: 'password'

About

Scripts to cleanup Redhat Satellite content host registrations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages