def script(vm_):
    return 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_)
        )
    )
Validate doctype fields. Checks
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/parallels.py/script--crossover with--dataset/ETHPy150Open frappe/frappe/frappe/core/doctype/doctype/doctype.py/validate_fields