vagrant-mos 0.9.40 → 0.9.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f33e921371e8888402aae7e8f4e2caf9660fff4
4
- data.tar.gz: 17a3f99725876ab7bb5ccdac15fc2ccb2871f624
3
+ metadata.gz: 0a55b5d146c0fd19249f11f008fc10427db68f06
4
+ data.tar.gz: 444c50f70865970221693a1514b5325a04a2fb5c
5
5
  SHA512:
6
- metadata.gz: 3114a72f57dd24118108f41d8e7942497326130e326263703e703ef33c5e0b0dc31ccb15c8635832d485bf7353e39f90a6a7d4085f9b0d97db08c11664d193df
7
- data.tar.gz: a7ef76ff96ba880989cc8a4fe5a7b0358fe2ae0b2de2ce08e81820ffaab0478f401612ceccff0ab34ae4a71228e4ea9204fd8857d446988b20c2398400978abd
6
+ metadata.gz: 829278f5df50a0bb7791e16e9daa86fecfdc2c767286f709b5d017bfea6659ab1f6987dba25d096af9b91dad0af93abfc26a2686f8d384958d5face2b6984443
7
+ data.tar.gz: 82e2d0144abe9fa10ddcabf968123351dfdea3e44fe7fcd488a77b951ab52b194acfe82e4ac12435adf3427e133adaf728e4bc52187459227a0178ef335d9d40
@@ -149,8 +149,6 @@ module VagrantPlugins
149
149
  b1.use Call, IsStopped do |env2, b2|
150
150
  if env2[:result]
151
151
  b2.use action_prepare_boot
152
- #b2.use Vagrant::Action::Builtin::SyncedFolderCleanup
153
- #b2.use Vagrant::Action::Builtin::SyncedFolders
154
152
  b2.use StartInstance # restart this instance
155
153
  else
156
154
  b2.use MessageAlreadyCreated # TODO write a better message
@@ -158,8 +156,6 @@ module VagrantPlugins
158
156
  end
159
157
  else
160
158
  b1.use action_prepare_boot
161
- #b1.use Vagrant::Action::Builtin::SyncedFolderCleanup
162
- #b1.use Vagrant::Action::Builtin::SyncedFolders
163
159
  b1.use RunInstance # launch a new instance
164
160
  end
165
161
  end
@@ -34,13 +34,6 @@ module VagrantPlugins
34
34
  Command
35
35
  end
36
36
 
37
- =begin
38
- synced_folder(:mos) do
39
- require_relative "synced_folder"
40
- SyncedFolder
41
- end
42
- =end
43
-
44
37
  provider(:mos, parallel: true) do
45
38
  # Setup logging and i18n
46
39
  setup_logging
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module MOS
3
- VERSION = '0.9.40'
3
+ VERSION = '0.9.42'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-mos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.40
4
+ version: 0.9.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - yangcs2009
@@ -119,7 +119,6 @@ files:
119
119
  - lib/vagrant-mos/errors.rb
120
120
  - lib/vagrant-mos/plugin.rb
121
121
  - lib/vagrant-mos/provider.rb
122
- - lib/vagrant-mos/synced_folder.rb
123
122
  - lib/vagrant-mos/util/timer.rb
124
123
  - lib/vagrant-mos/version.rb
125
124
  - locales/en.yml
@@ -1,20 +0,0 @@
1
- module VagrantPlugins
2
- module MOS
3
- class SyncedFolder < Vagrant.plugin("2", :synced_folder)
4
- def usable?(machine)
5
- # These synced folders only work if the provider is Docker
6
- machine.provider_name == :mos
7
- end
8
-
9
- def prepare(machine, folders, _opts)
10
- # FIXME: Check whether the container has already been created with
11
- # different synced folders and let the user know about it
12
- folders.each do |id, data|
13
- host_path = File.expand_path(data[:hostpath], machine.env.root_path)
14
- guest_path = data[:guestpath]
15
- #machine.provider_config.volumes << "#{host_path}:#{guest_path}"
16
- end
17
- end
18
- end
19
- end
20
- end