31 lines
742 B
Ruby
31 lines
742 B
Ruby
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module GuestLinux
|
|
class Plugin < Vagrant.plugin("2")
|
|
name "Linux guest."
|
|
description "Linux guest support."
|
|
|
|
config("linux") do
|
|
require File.expand_path("../config", __FILE__)
|
|
Config
|
|
end
|
|
|
|
guest("linux") do
|
|
require File.expand_path("../guest", __FILE__)
|
|
Guest
|
|
end
|
|
|
|
guest_capability("linux", "shell_expand_guest_path") do
|
|
require_relative "cap/shell_expand_guest_path"
|
|
Cap::ShellExpandGuestPath
|
|
end
|
|
|
|
guest_capability("linux", "mount_virtualbox_shared_folder") do
|
|
require_relative "cap/mount_virtualbox_shared_folder"
|
|
Cap::MountVirtualBoxSharedFolder
|
|
end
|
|
end
|
|
end
|
|
end
|