Feature #16587
openNeed option which will help to unregister system from one organization and register to another organization.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1376839
Description of problem:
Need some parameter which will un-register from one organization and register to another organization
Suppose server "A" is registered to Organization ABC. If I try to re-registered it to another registration will not work unless I manually remove it from Satellite. In my opinion "--force" should also move it to the new org.
Version-Release number of selected component (if applicable):
How reproducible:
To register to another organization we have to first un-registered from first organization and then re-register to that organization.
Steps to Reproduce:1. To register system to another organization we have to perform this below steps first
- subscription-manager remove --all
- subscription-manager unregister
- subscription-manager clean
2. To register with another org.
subscription-manager register --org="Organization-2" --environment="Library"
3.
Actual results:
This will be a manual process we have to perform twice.
Expected results:
Need option with subscription-manager to remove it from one org and register to another org.
Additional info: