def _curl_https_get_code(host):
    """
    Create a curl command for a given host that outputs HTTP status code.
    """
    return (
        '/opt/mesosphere/bin/curl '
        '-s -o /dev/null -w "%{{http_code}}" '
        'https://{host}'
    ).format(host=host)