Include seeds and default args for synced folder plugins
This commit is contained in:
parent
04a6f762af
commit
a18fb54ca6
@ -8,6 +8,7 @@ module VagrantPlugins
|
||||
prepend Util::HasLogger
|
||||
|
||||
include CapabilityPlatform
|
||||
include Util::HasSeeds::Client
|
||||
|
||||
# @param [Sdk::Args::Machine]
|
||||
# @return [Boolean]
|
||||
|
||||
@ -9,13 +9,12 @@ module VagrantPlugins
|
||||
|
||||
def initialize(*args, **opts, &block)
|
||||
caps = Vagrant.plugin("2").manager.synced_folder_capabilities
|
||||
default_args = [
|
||||
# Always get a target to pass the synced folder capability
|
||||
SDK::FuncSpec::Value.new(
|
||||
default_args = {
|
||||
Client::Target => SDK::FuncSpec::Value.new(
|
||||
type: "hashicorp.vagrant.sdk.Args.Target",
|
||||
name: "",
|
||||
),
|
||||
]
|
||||
}
|
||||
initialize_capability_platform!(caps, default_args)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user