Is there a way to provision multiple VM’s or Bare-Metal machine in one go.
I should be able to provision multiple VM’s or Bare-Metal machine in one go.
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data:
Is there a feature of provisioning multiple hosts for both VM’s and Bare-Metal machine in one go through Foreman. If not can it be done through API’s ? If yes please guide.
Can you please guide me on how to proceed here.
there is currently no way how to create multiple hosts with the same configuration in one step. The ‘clone’ button in UI is as close as you can get, but you can still create only one host at a time.
Thanks for your answer.
What about any other option like API or through foreman CLI ?
The only way I can think of is having a script that would call create endpoint in API or do
hammer host create several times.
You could also look into the ansible modules for that.