class VagrantVbguest::Installers::RedHat
Public Class Methods
match?(vm)
click to toggle source
Public Instance Methods
install(opts=nil, &block)
click to toggle source
Install missing deps and yield up to regular linux installation
Calls superclass method
VagrantVbguest::Installers::Linux#install
# File lib/vagrant-vbguest/installers/redhat.rb, line 12 def install(opts=nil, &block) communicate.sudo(install_dependencies_cmd, opts, &block) super end
Protected Instance Methods
dependencies()
click to toggle source
# File lib/vagrant-vbguest/installers/redhat.rb, line 22 def dependencies [ 'kernel-devel', 'kernel-devel-`uname -r`', 'gcc', 'binutils', 'make', 'perl', 'bzip2' ].join(' ') end
install_dependencies_cmd()
click to toggle source
# File lib/vagrant-vbguest/installers/redhat.rb, line 18 def install_dependencies_cmd "yum install -y #{dependencies}" end