go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/resources/reboot/testdata/redhat_kernel_reboot.toml (about)

     1  [commands."rpm -q kernel --queryformat '%{NAME} %{EPOCHNUM}:%{VERSION}-%{RELEASE} %{ARCH} %{SUMMARY}\n'"]
     2  stdout = """
     3  kernel 0:4.18.0-80.el8 x86_64 The Linux kernel
     4  kernel 0:4.18.0-80.4.2.el8_0 x86_64 The Linux kernel
     5  kernel 0:4.18.0-80.11.2.el8_0 x86_64 The Linux kernel
     6  """
     7  
     8  [commands."uname -r"]
     9  stdout = "4.18.0-80.4.2.el8_0.x86_64"
    10  
    11  [commands."uname -s"]
    12  stdout = "Linux"
    13  
    14  [commands."uname -m"]
    15  stdout = "x86_64"
    16  
    17  [files."/etc/redhat-release"]
    18  content = "Red Hat Enterprise Linux release 8.0 (Ootpa)"
    19  
    20  [files."/etc/os-release"]
    21  content = """
    22  NAME="Red Hat Enterprise Linux"
    23  VERSION="8.0 (Ootpa)"
    24  ID="rhel"
    25  ID_LIKE="fedora"
    26  VERSION_ID="8.0"
    27  PLATFORM_ID="platform:el8"
    28  PRETTY_NAME="Red Hat Enterprise Linux 8.0 (Ootpa)"
    29  ANSI_COLOR="0;31"
    30  CPE_NAME="cpe:/o:redhat:enterprise_linux:8.0:GA"
    31  HOME_URL="https://www.redhat.com/"
    32  BUG_REPORT_URL="https://bugzilla.redhat.com/"
    33  
    34  REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
    35  REDHAT_BUGZILLA_PRODUCT_VERSION=8.0
    36  REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
    37  REDHAT_SUPPORT_PRODUCT_VERSION="8.0"
    38  """