This file is indexed.

/usr/include/facter/facts/vm.hpp is in facter-dev 3.10.0-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/**
 * @file
 * Declares the virtual machine name constants.
 */
#pragma once

#include "../export.h"

namespace facter { namespace facts {

    /**
     * Stores the constant virtual machine names.
     */
    struct LIBFACTER_EXPORT vm
    {
        /**
         * The name for VMWare virtual machine.
         */
        constexpr static char const* vmware = "vmware";

        /**
         * The name for VirtualBox virtual machine.
         */
        constexpr static char const* virtualbox = "virtualbox";

        /**
         * The name for Parallels virtual machine.
         */
        constexpr static char const* parallels = "parallels";

        /**
         * The name for VMware Server virtual machine.
         */
        constexpr static char const* vmware_server = "vmware_server";

        /**
         * The name for VMware Workstation virtual machine.
         */
        constexpr static char const* vmware_workstation = "vmware_workstation";

        /**
         * The name for Docker virtual machine.
         */
        constexpr static char const* docker = "docker";

        /**
         * The name for LXC virtual machine.
         */
        constexpr static char const* lxc = "lxc";

        /**
         * The name for Google Compute Engine virtual machine.
         */
        constexpr static char const* gce = "gce";

        /**
         * The name for OpenStack-hosted virtual machine, when OpenStack defines the machine type.
         */
        constexpr static char const* openstack = "openstack";

        /**
         * The name for Xen privileged domain virtual machine.
         */
        constexpr static char const* xen_privileged = "xen0";

        /**
         * The name for Xen unprivileged domain virtual machine.
         */
        constexpr static char const* xen_unprivileged = "xenu";

        /**
         * The name for Xen Hardware virtual machine.
         */
        constexpr static char const* xen_hardware = "xenhvm";

        /**
         * The name for Xen virtual machine (on Windows)
         */
        constexpr static char const* xen = "xen";

        /**
         * The name for IBM System Z virtual machine.
         */
        constexpr static char const* zlinux = "zlinux";

        /**
         * The name for Linux-VServer host virtual machine.
         */
        constexpr static char const* vserver_host = "vserver_host";

        /**
         * The name for Linux-VServer virtual machine.
         */
        constexpr static char const* vserver = "vserver";

        /**
         * The name for OpenVZ Hardware Node virtual machine.
         */
        constexpr static char const* openvz_hn = "openvzhn";

        /**
         * The name for OpenVZ Virtual Environment virtual machine.
         */
        constexpr static char const* openvz_ve = "openvzve";

        /**
         * The name for KVM (QEMU) virtual machine.
         */
        constexpr static char const* kvm = "kvm";

        /**
         * The name for Bochs virtual machine.
         */
        constexpr static char const* bochs = "bochs";

        /**
         * The name for Microsoft Hyper-V virtual machine.
         */
        constexpr static char const* hyperv = "hyperv";

        /**
         * The name for Red Hat Enterprise Virtualization virtual machine.
         */
        constexpr static char const* redhat_ev = "rhev";

        /**
         * The name for oVirt virtual machine.
         */
        constexpr static char const* ovirt = "ovirt";

        /**
         * The name for Solaris zones
         */
        constexpr static char const* zone = "zone";

        /**
         * The name for Solaris ldom
         */
        constexpr static char const* ldom = "ldom";

        /**
         * The name of FreeBSD jails
         */
        constexpr static char const* jail = "jail";

        /**
         * The name for OpenBSD vmm
         */
        constexpr static char const* vmm = "vmm";

        /**
         * The name for FreeBSD bhyve
         */
        constexpr static char const* bhyve = "bhyve";
    };

}}  // namespace facter::facts