Include configuration for smb synced folders

This commit is contained in:
Chris Roberts 2018-01-03 09:31:01 -08:00
parent 5b7714f542
commit 6e4139acd3
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,23 @@
require "vagrant"
module VagrantPlugins
module SyncedFolderSMB
class Config < Vagrant.plugin("2", :config)
attr_accessor :functional
def initialize
super
@functional = UNSET_VALUE
end
def finalize!
@functional = true if @functional == UNSET_VALUE
end
def to_s
"SMB"
end
end
end
end

View File

@ -12,6 +12,11 @@ module VagrantPlugins
Windows or macOS and share them to guest machines.
EOF
config("smb") do
require_relative "config"
Config
end
synced_folder("smb", 7) do
require_relative "synced_folder"
init!