You are exactly right. The lead time on most industrial equipment, especially that specialized for the oil industry, is going to be multiple months. Possibly longer considering the sudden demand spike as everyone in the region is trying to rebuild at the same time.
That is not even counting the logistics nightmare it will be to get the continuous floe of supertanker traffic reorganized and restarted. The full capacity of the Strait relies on traffic entering and exiting in a predictable constant manner which will also take months to re-establish, since tankers are scattered all over the world now.
Its ok though, this is a moot point as once again Israel has predictably broken the ceasefire almost immediately, and Iran has cancelled all talks and plans to reopen the strait because of it.