Can we remove this function and reuse the one in the `OperatingSystemToImage` class?