How do you automate the unregistration of an offline host in SAM?
Issue
- I can't find a way to unregister a host that has been registered with
subscription-managerwhen that host is no longer online (i.e. the host has been disposed of) other than using the web interface. This may be inconvenient since I'm limited to 10 deletions at a time and it's very slow. I'd much rather use thesubscription-managercommand and be able to specify aconsumeridto delete. Unfortunately, there is no flag for theunregisteroption that allows me to specify acomsumerid. It will only unregister the host I'm currently logged into.
Environment
- Subscription Asset Manager (SAM) 1.1
- Red Hat Enterprise Linux (RHEL) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
