Request machines instead of targets
This commit is contained in:
parent
025808ba27
commit
c9d93f2f8a
@ -10,8 +10,8 @@ module VagrantPlugins
|
||||
def initialize(*args, **opts, &block)
|
||||
caps = Vagrant.plugin("2").local_manager.guest_capabilities
|
||||
default_args = {
|
||||
Client::Target => SDK::FuncSpec::Value.new(
|
||||
type: "hashicorp.vagrant.sdk.Args.Target",
|
||||
Client::Target::Machine => SDK::FuncSpec::Value.new(
|
||||
type: "hashicorp.vagrant.sdk.Args.Target.Machine",
|
||||
name: "",
|
||||
),
|
||||
}
|
||||
@ -23,7 +23,7 @@ module VagrantPlugins
|
||||
name: "detect_spec",
|
||||
args: [
|
||||
SDK::FuncSpec::Value.new(
|
||||
type: "hashicorp.vagrant.sdk.Args.Target",
|
||||
type: "hashicorp.vagrant.sdk.Args.Target.Machine",
|
||||
name: "",
|
||||
)
|
||||
],
|
||||
|
||||
@ -2,14 +2,14 @@ module VagrantPlugins
|
||||
module CommandServe
|
||||
module Service
|
||||
class ProviderService < SDK::ProviderService::Service
|
||||
|
||||
|
||||
include CapabilityPlatformService
|
||||
|
||||
def initialize(*args, **opts, &block)
|
||||
caps = Vagrant.plugin("2").local_manager.provider_capabilities
|
||||
default_args = {
|
||||
Client::Target => SDK::FuncSpec::Value.new(
|
||||
type: "hashicorp.vagrant.sdk.Args.Target",
|
||||
Client::Target::Machine => SDK::FuncSpec::Value.new(
|
||||
type: "hashicorp.vagrant.sdk.Args.Target.Machine",
|
||||
name: "",
|
||||
),
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user