Actions
Feature #33673
closedMigrate host to new proxy
Difficulty:
Triaged:
Yes
Description
New API endpoint that generates bash code for host migration to new proxy.
In future this should be replacement for Foreman Bootstrap script new capsule [1].
User workflow- SSH to host
- Run `curl --user admin:changeme "https://foreman.example.com/katello/api/hosts/change_proxy?smart_proxy_id=3&activation_keys=key1" | bash`
- Clean the existing tools (katelo agent and so on ...)
- Unregister & clean subscription data
- Install / upgrade `subscription-manager`
- Register host to new content source
- Update host (host group, location, openscap proxy id)
Actions