Project

General

Profile

Actions

Feature #20779

open

Change the OS of multiple hosts through UI

Added by tarak sinha almost 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Host creation
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Daniel Lobato Garcia almost 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.

Actions #2

Updated by tarak sinha almost 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,

Actions

Also available in: Atom PDF