Bug #15455
closedprovide 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.
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6135 added
Updated by Justin Sherrill over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|71bf4797cadf58ca003e9383a8cc94a46f1ab0db.
Updated by Justin Sherrill over 8 years ago
- Translation missing: en.field_release set to 162
Updated by Michael Schietzsch over 5 years 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.
Updated by Justin Sherrill over 5 years 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?