def METHOD_NAME(context, machine_name):
    contract_override_path = context.service_mirror_cfg["contract_override"]
    contract_final_cfg_path = "contract-server-ready.yml"
    cmd = "sh -c 'cat {} | ua-airgapped > {}'".format(
        contract_override_path,
        contract_final_cfg_path,
    )
    when_i_run_command(
        context,
        cmd,
        "with sudo",
        machine_name=machine_name,
    )
    context.service_mirror_cfg["contract_final_cfg"] = contract_final_cfg_path