module VagrantVbguest
  module Installers
    class Oracle < RedHat

      def self.match?(vm)
        :redhat == self.distro(vm) &&
          communicate_to(vm).test('test -f /etc/oracle-release')
      end

      protected

      def dependencies
        [
          'kernel-`uname -a | grep -q "uek." && echo "uek-"`devel-`uname -r`',
          'gcc',
          'make',
          'perl',
          'bzip2'
        ].join(' ')
      end
    end
  end
end
VagrantVbguest::Installer.register(VagrantVbguest::Installers::Oracle, 6)

module VagrantVbguest
  module Installers
    class Oracle < RedHat

      def self.match?(vm)
        :redhat == self.distro(vm) &&
          communicate_to(vm).test('test -f /etc/oracle-release')
      end

      protected

      def dependencies
        [
          'kernel-`uname -a | grep -q "uek." && echo "uek-"`devel-`uname -r`',
          'gcc',
          'make',
          'perl',
          'bzip2',
          'elfutils-libelf-devel'
        ].join(' ')
      end
    end
  end
end
VagrantVbguest::Installer.register(VagrantVbguest::Installers::Oracle, 6)

Add Missing Required OL 8 Library
Add Missing Required OL 8 Library

Add the 'elfutils-libelf-devel' library required by Guest Additions on OL 8