guests/debian: Move NFS into same file
This commit is contained in:
parent
0af02fc78c
commit
9134172ce6
|
@ -1,10 +1,11 @@
|
|||
module VagrantPlugins
|
||||
module GuestDebian
|
||||
module Cap
|
||||
class NFSClient
|
||||
class NFS
|
||||
def self.nfs_client_install(machine)
|
||||
comm = machine.communicate
|
||||
comm.sudo <<-EOH.gsub(/^ {12}/, '')
|
||||
set -e
|
||||
apt-get -yqq update
|
||||
apt-get -yqq install nfs-common portmap
|
||||
EOH
|
|
@ -22,8 +22,8 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
guest_capability(:debian, :nfs_client_install) do
|
||||
require_relative "cap/nfs_client"
|
||||
Cap::NFSClient
|
||||
require_relative "cap/nfs"
|
||||
Cap::NFS
|
||||
end
|
||||
|
||||
guest_capability(:debian, :rsync_install) do
|
||||
|
|
Loading…
Reference in New Issue