Bug #15455
provide option to delete host with subscription-manager unregister
Description
Many users do not want to keep around old hosts once they unregister. A system wide setting would at least let them decide.
Associated revisions
History
#1
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6135 added
#2
Updated by Justin Sherrill over 4 years ago
- Bugzilla link set to 1345723
#3
Updated by Justin Sherrill over 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|71bf4797cadf58ca003e9383a8cc94a46f1ab0db.
#4
Updated by Justin Sherrill over 4 years ago
- Legacy Backlogs Release (now unused) set to 162
#5
Updated by Michael Schietzsch over 1 year ago
This is still a valid request in my opinion, even if there is now a global option.
Example: I use container to test stuff. The container registers against foreman, installs some packages and then unregisteres.
For the actual test I can do an API call to delete him, but not in the Dockerfile. Therefore an option to delete this specific host on subscription-manager unregister would be nice.
#6
Updated by Justin Sherrill over 1 year ago
Hi Michael,
Such an option does exist, but on a system wide basis (all unregisters will delete their hosts). Simply change the setting 'unregister_delete_host' to true in Administer > settings > content.
Does that solve your issue?
Fixes #15455 - provide setting to del host on unregister (#6135)