vagrant-vbguest 0.10.0.pre0 → 0.10.0.pre1
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.
data/CHANGELOG.md
CHANGED
@@ -4,12 +4,23 @@
|
|
4
4
|
On Ubuntu, always try to remove conflicting installations of
|
5
5
|
GuestAdditions by removing those packages:
|
6
6
|
virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
|
7
|
+
- Unload kernel modules when UbuntuCloudImage packages are installed.
|
8
|
+
(Thanks @eric1234 for commenting on ec9a7b1f0a)
|
9
|
+
- Wait for SSH connection to be ready. Depends on vagrant's
|
10
|
+
`WaitForCommunicator` action, which is available from vagrant v1.3.0.
|
11
|
+
[GH-80], [GH-90]
|
7
12
|
- Fix a typo in command description [GH-84]
|
8
13
|
- Tweak gem dependencies [GH-82]
|
9
14
|
- add rake as development dependency
|
10
15
|
- remove version locks on gems provided by vagrant
|
11
16
|
- Pass plugin name when registration the action hook for vagrant ≥1.1 [GH-80]
|
12
17
|
|
18
|
+
### heads-up
|
19
|
+
|
20
|
+
- With [GH-94] the **name**, `vagrant-vbguest` registers itself to vagrant's
|
21
|
+
(≥1.1) plugin-system changed from 'vbguest management' to
|
22
|
+
'vagrant-vbguest'
|
23
|
+
|
13
24
|
## 0.9.0
|
14
25
|
|
15
26
|
- Adds support for vagrant 1.3 [GH-71], [GH-72]
|
@@ -93,13 +104,13 @@
|
|
93
104
|
- Fix typos and wording in error messages and I18n keys
|
94
105
|
et al. [GH-38]
|
95
106
|
|
96
|
-
## 0.6.1 (
|
107
|
+
## 0.6.1 (2013-01-13)
|
97
108
|
|
98
109
|
- Fix missing command output block and parameters for
|
99
110
|
installation process [GH-37]
|
100
111
|
- Update README to reflect new wording for status informations
|
101
112
|
|
102
|
-
## 0.6.0 (
|
113
|
+
## 0.6.0 (2013-01-13)
|
103
114
|
|
104
115
|
- Debian installer now cope with missing `dkms` package [GH-30]
|
105
116
|
- Fixed some issues when runnig on just creating boxes [GH-31]
|
data/Readme.md
CHANGED
@@ -156,7 +156,7 @@ The plugin's part starts at `[default] Installing Virtualbox Guest Additions 4.1
|
|
156
156
|
* which installer script will be used
|
157
157
|
* all the VirtualBox Guest Additions installer output.
|
158
158
|
|
159
|
-
No worries on the `Installing the Window System drivers ...fail!`. Most dev boxes you are using won't run a Window Server, thus it's absolutely
|
159
|
+
No worries on the `Installing the Window System drivers ...fail!`. Most dev boxes you are using won't run a Window Server, thus it's absolutely safe to ignore that error.
|
160
160
|
|
161
161
|
When everything is fine, and no update is needed, you see log like:
|
162
162
|
|
@@ -7,15 +7,34 @@ module VagrantVbguest
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def install(opts=nil, &block)
|
10
|
-
|
10
|
+
if (packaged = packaged_additions?)
|
11
|
+
unload_packaged_additions(opts, &block)
|
12
|
+
remove_packaged_additions(opts, &block)
|
13
|
+
end
|
11
14
|
super
|
12
15
|
end
|
13
16
|
|
14
17
|
protected
|
15
18
|
|
19
|
+
def packaged_additions?
|
20
|
+
communicate.test("dpkg --list | grep virtualbox-guest")
|
21
|
+
end
|
22
|
+
|
16
23
|
def remove_packaged_additions(opts=nil, &block)
|
17
24
|
options = (opts || {}).merge(:error_check => false)
|
18
|
-
command = "
|
25
|
+
command = "apt-get -y -q purge virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11"
|
26
|
+
communicate.sudo(command, options, &block)
|
27
|
+
end
|
28
|
+
|
29
|
+
def unload_packaged_additions(opts=nil, &block)
|
30
|
+
commands = [
|
31
|
+
"service virtualbox-guest-utils stop",
|
32
|
+
"umount -a -t vboxsf",
|
33
|
+
"rmmod vboxsf",
|
34
|
+
"rmmod vboxguest"
|
35
|
+
]
|
36
|
+
command = "(" + commands.join("; sleep 1; ") + ")"
|
37
|
+
options = (opts || {}).merge(:error_check => false)
|
19
38
|
communicate.sudo(command, options, &block)
|
20
39
|
end
|
21
40
|
|
@@ -13,6 +13,9 @@ module VagrantVbguest
|
|
13
13
|
end
|
14
14
|
end
|
15
15
|
b.use VagrantPlugins::ProviderVirtualBox::Action::Boot
|
16
|
+
if defined?(Vagrant::Action::Builtin::WaitForCommunicator)
|
17
|
+
b.use Vagrant::Action::Builtin::WaitForCommunicator, [:starting, :running]
|
18
|
+
end
|
16
19
|
end
|
17
20
|
@env[:action_runner].run(simle_reboot, @env)
|
18
21
|
end
|
data/lib/vagrant-vbguest.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vbguest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.0.
|
4
|
+
version: 0.10.0.pre1
|
5
5
|
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-11-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: micromachine
|
@@ -158,7 +158,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
158
|
version: '0'
|
159
159
|
segments:
|
160
160
|
- 0
|
161
|
-
hash:
|
161
|
+
hash: 1853840948815147126
|
162
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
163
|
none: false
|
164
164
|
requirements:
|