Bug #33811
closedReprovisioning a host using new HostGroup does not inherit root password from the new HostGroup
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1982745
Description of problem:
Rebuilding/reprovisioning a host using a new HostGroup does not inherit all the values from the new HostGroup
How reproducible:
100%
Steps to Reproduce:
1. Provision a new host using a HostGroup(i.e ABC).
2. update the same host with a new HostGroup (i.e XYZ).
3. Then rebuild the same host
Actual results:
Root password set for the reprovisioned host is from the first HostGroup(i.e ABC)
Expected results:
As the Host is updated with the new HostGroup (i.e XYZ). so all the parameters should be inherited from the new HostGroup (i.e XYZ)
Additional info:
I just notied the password field, there could be more values that are getting inherited from the first HostGroup(i.e ABC).