Host OS migration using foreman hammer host update command on multiple hosts

Hi Team,

I have requirement where i have to perform OS migration on centos 7 host to Alma 8 host. I have ~300 centos 7 hosts which needs to migrate to Alma 8. I have setup the required config for Alma 8 in foreman.
I can rebuild host with Alma 8 hostgroup and OS but i can do one host at a time.
I am looking for aproach where i can rebuild 10 hosts in one go using hammer cli. I came across
hammer host update command but i can do one host in this also…

So could you please suggest any approach to target 10 hosts a time. I was thinking of for loop but it takes one VM at a time and rebuild.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.