2014-04-21 03:39:42 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module HostDarwin
|
|
|
|
class Plugin < Vagrant.plugin("2")
|
|
|
|
name "Mac OS X host"
|
|
|
|
description "Mac OS X host support."
|
|
|
|
|
|
|
|
host("darwin", "bsd") do
|
|
|
|
require_relative "host"
|
|
|
|
Host
|
|
|
|
end
|
|
|
|
|
2015-11-04 23:47:56 +00:00
|
|
|
host_capability("darwin", "provider_install_virtualbox") do
|
|
|
|
require_relative "cap/provider_install_virtualbox"
|
|
|
|
Cap::ProviderInstallVirtualBox
|
|
|
|
end
|
|
|
|
|
2014-04-21 03:39:42 +00:00
|
|
|
host_capability("darwin", "rdp_client") do
|
|
|
|
require_relative "cap/rdp"
|
|
|
|
Cap::RDP
|
|
|
|
end
|
2017-12-16 00:31:44 +00:00
|
|
|
|
|
|
|
host_capability("darwin", "smb_installed") do
|
|
|
|
require_relative "cap/smb"
|
|
|
|
Cap::SMB
|
|
|
|
end
|
|
|
|
|
|
|
|
host_capability("darwin", "smb_prepare") do
|
|
|
|
require_relative "cap/smb"
|
|
|
|
Cap::SMB
|
|
|
|
end
|
|
|
|
|
|
|
|
host_capability("darwin", "smb_mount_options") do
|
|
|
|
require_relative "cap/smb"
|
|
|
|
Cap::SMB
|
|
|
|
end
|
|
|
|
|
|
|
|
host_capability("darwin", "smb_cleanup") do
|
|
|
|
require_relative "cap/smb"
|
|
|
|
Cap::SMB
|
|
|
|
end
|
|
|
|
|
|
|
|
host_capability("darwin", "configured_ip_addresses") do
|
|
|
|
require_relative "cap/configured_ip_addresses"
|
|
|
|
Cap::ConfiguredIPAddresses
|
|
|
|
end
|
2014-04-21 03:39:42 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|