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
|
|
|
|
|
2019-10-08 23:40:34 +00:00
|
|
|
host_capability("darwin", "resolve_host_path") do
|
|
|
|
require_relative "cap/path"
|
|
|
|
Cap::Path
|
|
|
|
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
|
|
|
|
|
2017-12-21 23:57:57 +00:00
|
|
|
host_capability("darwin", "smb_start") do
|
|
|
|
require_relative "cap/smb"
|
|
|
|
Cap::SMB
|
|
|
|
end
|
|
|
|
|
2017-12-16 00:31:44 +00:00
|
|
|
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
|