vagrant-vbguest 0.27.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -2
- data/VERSION +1 -1
- data/lib/vagrant-vbguest.rb +20 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc57b2bf840ee96da32c6d2c1e76068f7e7b621009b5cb18ae11f961cfab640a
|
4
|
+
data.tar.gz: 5cbbec9f20453b9bb42a03895d7a6f53cebecbca7879fe18e2389aae98849420
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63162302dfa737249d5e27ebca8702b044c5ed941020349d3f08825896c30b0e44705135c2074f83b7db46d56da4bad815e508f02d3e51b96262772db1361690
|
7
|
+
data.tar.gz: 34d4263fab308a00acc2df865a924d8a913a4322b7789ba82687be691ed6614fd188189b477dc1e28c232940d2a3d19cb6787e02a117a62ae70cf4305cc6a107
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 0.28.0 (2020-11-20)
|
2
|
+
|
3
|
+
- Work around a bug in vagrant 2.2.11 to 2.2.13, which would not load the vbguest middleware. [GH-394], Fixes [GH-391]
|
4
|
+
|
1
5
|
## 0.27.0 (2020-11-15)
|
2
6
|
|
3
7
|
- Un-mounting the guest additions iso will now take place in the cleanup step [GH-393]
|
@@ -7,7 +11,7 @@
|
|
7
11
|
|
8
12
|
- Add a new configuration `installer_hooks` allows to configure arbitrary scripts to be run on the guest before/after installer steps are executed.
|
9
13
|
- Fix RHEL8 perl vs. perl-interpreter [GH-368]
|
10
|
-
- On
|
14
|
+
- On RedHat, use `dnf` instead of `yum` if available. [GH-368]
|
11
15
|
- Fix incorrect re-use of installer_* options.
|
12
16
|
|
13
17
|
## 0.25.0 (2020-09-26)
|
@@ -100,7 +104,7 @@ See discussion in [GH-300]. Thanks @cbj4074 for asking the right questions.
|
|
100
104
|
|
101
105
|
## 0.15.2 (2018-05-22)
|
102
106
|
|
103
|
-
- On
|
107
|
+
- On RedHat based guest, the installer will now try to install the 'kernel-devel' package additionally to 'kernel-devel-`uname -r`' Thanks @ghoneycutt [GH-299]
|
104
108
|
|
105
109
|
## 0.15.1 (2018-01-08)
|
106
110
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.28.0
|
data/lib/vagrant-vbguest.rb
CHANGED
@@ -31,8 +31,6 @@ require 'vagrant-vbguest/installers/suse'
|
|
31
31
|
require 'vagrant-vbguest/installers/archlinux'
|
32
32
|
require 'vagrant-vbguest/installers/windows'
|
33
33
|
|
34
|
-
require 'vagrant-vbguest/middleware'
|
35
|
-
|
36
34
|
module VagrantVbguest
|
37
35
|
|
38
36
|
class Plugin < Vagrant.plugin("2")
|
@@ -52,13 +50,26 @@ module VagrantVbguest
|
|
52
50
|
Command
|
53
51
|
end
|
54
52
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
53
|
+
if ("2.2.11".."2.2.13").include?(Gem::Version.create(Vagrant::VERSION).release.to_s)
|
54
|
+
$stderr.puts(
|
55
|
+
"Vagrant v#{Vagrant::VERSION} has a bug which prevents vagrant-vbguest to register probably.\n" \
|
56
|
+
"vagrant-vbguest will try to do the next best thing, but might not be working as expected.\n" \
|
57
|
+
"If possible, please upgrade Vagrant to >= 2.2.14"
|
58
|
+
)
|
59
|
+
action_hook('vbguest', :machine_action_up) do |hook|
|
60
|
+
require 'vagrant-vbguest/middleware'
|
61
|
+
hook.append(VagrantVbguest::Middleware)
|
62
|
+
end
|
63
|
+
else
|
64
|
+
# hook after anything that boots:
|
65
|
+
# that's all middlewares which will run the buildin "VM::Boot" action
|
66
|
+
action_hook('vbguest') do |hook|
|
67
|
+
require 'vagrant-vbguest/middleware'
|
68
|
+
if defined?(VagrantPlugins::ProviderVirtualBox::Action::CheckGuestAdditions)
|
69
|
+
hook.before(VagrantPlugins::ProviderVirtualBox::Action::CheckGuestAdditions, VagrantVbguest::Middleware)
|
70
|
+
else
|
71
|
+
hook.after(VagrantPlugins::ProviderVirtualBox::Action::Boot, VagrantVbguest::Middleware)
|
72
|
+
end
|
62
73
|
end
|
63
74
|
end
|
64
75
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vbguest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Schulze
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: micromachine
|