Class: Vagrant::Hosts::Gentoo
- Defined in:
- lib/vagrant/hosts/gentoo.rb
Class Method Summary collapse
- .match? ⇒ Boolean
-
.precedence ⇒ Object
Normal, mid-range precedence.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Gentoo
constructor
A new instance of Gentoo.
Methods inherited from Linux
#nfs?, #nfs_export, #nfs_prune
Methods included from Util::Retryable
Methods inherited from Base
#nfs?, #nfs_export, #nfs_prune
Constructor Details
#initialize(*args) ⇒ Gentoo
Returns a new instance of Gentoo.
13 14 15 16 17 |
# File 'lib/vagrant/hosts/gentoo.rb', line 13 def initialize(*args) super @nfs_server_binary = "/etc/init.d/nfs" end |
Class Method Details
.match? ⇒ Boolean
4 5 6 |
# File 'lib/vagrant/hosts/gentoo.rb', line 4 def self.match? return File.exists?("/etc/gentoo-release") end |
.precedence ⇒ Object
Normal, mid-range precedence.
9 10 11 |
# File 'lib/vagrant/hosts/gentoo.rb', line 9 def self.precedence 5 end |