def __distro(self):
        """Based on the Linux distribution, set values accordingly.  A user
        specified value overrides any defaults."""

        if hpccm.config.g_linux_distro == linux_distro.UBUNTU:
            if not self.__ospackages:
                self.__ospackages = ['libudev-dev', 'libnl-3-dev',
                                     'libnl-route-3-dev', 'make',
                                     'pkg-config', 'python3-docutils',
                                     'pandoc', 'wget']

            self.__runtime_ospackages = ['libnl-3-200', 'libnl-route-3-200',
                                         'libnuma1']
        elif hpccm.config.g_linux_distro == linux_distro.CENTOS:
            if not self.__ospackages:
                self.__ospackages = ['libnl3-devel', 'libudev-devel', 'make',
                                     'pkgconfig', 'pandoc', 'wget']

                if hpccm.config.g_linux_version >= Version('8.0'):
                    self.__ospackages.append('python3-docutils')
                else:
                    self.__ospackages.append('python-docutils')

            self.__runtime_ospackages = ['libnl', 'libnl3', 'numactl-libs']
        else: # pragma: no cover
            raise RuntimeError('Unknown Linux distribution')

        if self.repository:
            self.__ospackages.extend(['ca-certificates', 'git'])
Based on the Linux distribution, set values accordingly.  A user
        specified value overrides any defaults.
hpccm/building_blocks/rdma_core.py