go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/_motor/platform/detector/testdata/detect-rhel-7-sles.toml (about)

     1  # SLES Expanded Support platform for RHEL
     2  # https://www.suse.com/media/data-sheet/sles_with_expanded_support_data_sheet.pdf
     3  
     4  [commands."uname -s"]
     5  stdout = "Linux"
     6  
     7  [commands."uname -m"]
     8  stdout = "x86_64"
     9  
    10  [commands."uname -r"]
    11  stdout = "4.9.125-linuxkit"
    12  
    13  [files."/etc/redhat-release"]
    14  content = """
    15  Red Hat Enterprise Linux Server release 7.4 (Maipo)
    16  # This is a "SLES Expanded Support platform release 7.4"
    17  # The above "Red Hat Enterprise Linux Server" string is only used to
    18  # keep software compatibility.
    19  """
    20  
    21  [files."/etc/os-release"]
    22  content = """
    23  NAME="Red Hat Enterprise Linux Server"
    24  VERSION="7.4 (Maipo)"
    25  ID="rhel"
    26  ID_LIKE="fedora"
    27  VERSION_ID="7.4"
    28  PRETTY_NAME="Red Hat Enterprise Linux Server 7.4"
    29  ANSI_COLOR="0;31"
    30  CPE_NAME="cpe:/o:redhat:enterprise_linux:7.4:GA:server"
    31  HOME_URL="https://www.redhat.com/"
    32  BUG_REPORT_URL="https://bugzilla.redhat.com/"
    33  REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
    34  REDHAT_BUGZILLA_PRODUCT_VERSION=7.4
    35  REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
    36  REDHAT_SUPPORT_PRODUCT_VERSION=7.4
    37  # This is a "SLES Expanded Support platform release 7.4"
    38  # The above "Red Hat Enterprise Linux Server" string is only used to
    39  # keep software compatibility.
    40  """