Sha256: a55819026b9b25f0ad4480a39519fe22ad84d0a137b447994e9d46987130acb4
Contents?: true
Size: 629 Bytes
Versions: 6
Compression:
Stored size: 629 Bytes
Contents
require "vagrant" require Vagrant.source_root.join("plugins/hosts/linux/host") module VagrantPlugins module HostSlackware class Host < VagrantPlugins::HostLinux::Host def self.match? return File.exists?("/etc/slackware-release") || Dir.glob("/usr/lib/setup/Plamo-*").length > 0 end # Normal, mid-range precedence. def self.precedence 5 end def initialize(*args) super @nfs_apply_command = "/usr/sbin/exportfs -r" @nfs_check_command = "pidof nfsd > /dev/null" @nfs_start_command = "/etc/rc.d/rc.nfsd start" end end end end
Version data entries
6 entries across 6 versions & 2 rubygems