def generate_vcenter(image, builder, installProfile, api=None, login=None):
    installProfile = get_memory_amount(builder, installProfile, True)
    if installProfile == 2:
        return None, None, None
    if "hwType" in builder["hardwareSettings"]:
        installProfile.hwType = builder["hardwareSettings"]["hwType"]
    image.compress = False
    return image, installProfile
dataset/ETHPy150Open usharesoft/hammr/src/hammr/utils/generate_utils.py/generate_vcenter/original