2012-04-19 05:20:45 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module HostWindows
|
2012-11-07 05:20:22 +00:00
|
|
|
class Plugin < Vagrant.plugin("2")
|
2012-04-19 05:20:45 +00:00
|
|
|
name "Windows host"
|
|
|
|
description "Windows host support."
|
|
|
|
|
2012-05-23 23:03:14 +00:00
|
|
|
host("windows") do
|
2014-01-08 05:13:21 +00:00
|
|
|
require_relative "host"
|
2012-05-23 23:03:14 +00:00
|
|
|
Host
|
|
|
|
end
|
2014-01-08 05:13:21 +00:00
|
|
|
|
2015-11-05 03:37:55 +00:00
|
|
|
host_capability("windows", "provider_install_virtualbox") do
|
|
|
|
require_relative "cap/provider_install_virtualbox"
|
|
|
|
Cap::ProviderInstallVirtualBox
|
|
|
|
end
|
|
|
|
|
2014-01-08 05:13:21 +00:00
|
|
|
host_capability("windows", "nfs_installed") do
|
|
|
|
require_relative "cap/nfs"
|
|
|
|
Cap::NFS
|
|
|
|
end
|
2014-04-12 22:44:39 +00:00
|
|
|
|
|
|
|
host_capability("windows", "rdp_client") do
|
|
|
|
require_relative "cap/rdp"
|
|
|
|
Cap::RDP
|
|
|
|
end
|
2014-08-27 19:17:30 +00:00
|
|
|
|
|
|
|
host_capability("windows", "ps_client") do
|
|
|
|
require_relative "cap/ps"
|
|
|
|
Cap::PS
|
|
|
|
end
|
2017-12-16 00:31:44 +00:00
|
|
|
|
|
|
|
host_capability("windows", "smb_installed") do
|
|
|
|
require_relative "cap/smb"
|
|
|
|
Cap::SMB
|
|
|
|
end
|
|
|
|
|
|
|
|
host_capability("windows", "smb_prepare") do
|
|
|
|
require_relative "cap/smb"
|
|
|
|
Cap::SMB
|
|
|
|
end
|
|
|
|
|
|
|
|
host_capability("windows", "smb_cleanup") do
|
|
|
|
require_relative "cap/smb"
|
|
|
|
Cap::SMB
|
|
|
|
end
|
|
|
|
|
2018-04-26 15:45:05 +00:00
|
|
|
host_capability("windows", "smb_mount_options") do
|
2018-01-13 00:43:19 +00:00
|
|
|
require_relative "cap/smb"
|
|
|
|
Cap::SMB
|
|
|
|
end
|
|
|
|
|
2017-12-16 00:31:44 +00:00
|
|
|
host_capability("windows", "configured_ip_addresses") do
|
|
|
|
require_relative "cap/configured_ip_addresses"
|
|
|
|
Cap::ConfiguredIPAddresses
|
|
|
|
end
|
2018-06-12 17:49:10 +00:00
|
|
|
|
|
|
|
host_capability("windows", "set_ssh_key_permissions") do
|
|
|
|
require_relative "cap/ssh"
|
|
|
|
Cap::SSH
|
|
|
|
end
|
2012-04-19 05:20:45 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|