Feature #20779
openChange the OS of multiple hosts through UI
Description
Hi All,
I have to rebuild the 50 linux box using foreman, is there any parameter or features to change the OS at a time rather than select each and every host on foreman UI, As my initial finding multiple hosts can be build to select the SELECT ACTION tab but there is no any option to select the OS for all hosts. let me know if any suggestion or advise for that.
Updated by Daniel Lobato Garcia about 7 years ago
- Tracker changed from Support to Feature
- Subject changed from Bare metal Host provisions in bulk to Change the OS of multiple hosts through UI
- Category set to Host creation
- Priority changed from Urgent to Normal
This is not possible through the UI. However, you should be able to iterate through all hosts in /api/v2/hosts and use the API to update the OS in a programmatic way. You may use hammer https://github.com/theforeman/hammer-cli-foreman or the API directly for this.
I've changed this to be a feature request as it would be nice to have.
Updated by tarak sinha about 7 years ago
Daniel Lobato Garcia wrote:
This is not possible through the UI. However, you should be able to iterate through all hosts in /api/v2/hosts and use the API to update the OS in a programmatic way. You may use hammer https://github.com/theforeman/hammer-cli-foreman or the API directly for this.
I've changed this to be a feature request as it would be nice to have.
Thanks Daniel for your prompt response,