def script(vm_):
    deploy_script = salt.utils.cloud.os_script(
        config.get_cloud_config_value('script', vm_, __opts__),
        vm_,
        __opts__,
        salt.utils.cloud.salt_config_to_yaml(
            salt.utils.cloud.minion_config(__opts__, vm_)
        )
    )

    return deploy_script
Looks up a failure for the given artifact name.
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/qingcloud.py/script--crossover with--dataset/ETHPy150Open lektor/lektor-archive/lektor/buildfailures.py/FailureController.lookup_failure