vagrant-vbguest 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +5 -0
- data/Readme.md +18 -18
- data/lib/vagrant-vbguest/installers/redhat.rb +1 -1
- data/lib/vagrant-vbguest/version.rb +1 -1
- data/lib/vagrant-vbguest.rb +1 -0
- metadata +18 -33
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 13084bb868cab9e4f72ffe2736fc19431766c040
|
4
|
+
data.tar.gz: 2c741a74f26808fe8b7982d9bbc969e155e399b0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0aa5063d60c8593ebdc717f2b317c84e4a513c5c6bb5535401d98613ab58c0773f388253cd6d4e64a3da312ccd54c0441aecfd663ceb282be013f196aef9551f
|
7
|
+
data.tar.gz: 05ccc67697bde6ccf34c92eed2a8d1124dc1934a026dccc0a372021ffa187494385f29f6b4e9e0c09464563d87013b5d293eaf0ca599562d1bad74b5530cc87f
|
data/CHANGELOG.md
CHANGED
data/Readme.md
CHANGED
@@ -33,8 +33,8 @@ Compatibly for vagrant 0.8 is provided by version 0.0.3 (which lacks a bunch of
|
|
33
33
|
|
34
34
|
## Configuration / Usage
|
35
35
|
|
36
|
-
If you're lucky, *vagrant-vbguest* does not require any
|
37
|
-
However, here is an example
|
36
|
+
If you're lucky, *vagrant-vbguest* does not require any configuration.
|
37
|
+
However, here is an example of `Vagrantfile`:
|
38
38
|
|
39
39
|
```ruby
|
40
40
|
Vagrant::Config.run do |config|
|
@@ -44,8 +44,8 @@ Vagrant::Config.run do |config|
|
|
44
44
|
# or
|
45
45
|
# config.vbguest.iso_path = "http://company.server/VirtualBox/%{version}/VBoxGuestAdditions.iso"
|
46
46
|
|
47
|
-
# set auto_update to false, if do NOT want to check the correct
|
48
|
-
# version when booting this machine
|
47
|
+
# set auto_update to false, if you do NOT want to check the correct
|
48
|
+
# additions version when booting this machine
|
49
49
|
config.vbguest.auto_update = false
|
50
50
|
|
51
51
|
# do NOT download the iso file from a webserver
|
@@ -56,8 +56,8 @@ end
|
|
56
56
|
### Config options
|
57
57
|
|
58
58
|
* `iso_path` : The full path or URL to the VBoxGuestAdditions.iso file. <br/>
|
59
|
-
The `iso_path` may contain the optional placeholder `%{version}`
|
60
|
-
The URI for the actual iso download
|
59
|
+
The `iso_path` may contain the optional placeholder `%{version}` replaced with detected VirtualBox version (e.g. `4.1.8`).
|
60
|
+
The default URI for the actual iso download is: `http://download.virtualbox.org/virtualbox/%{version}/VBoxGuestAdditions_%{version}.iso`<br/>
|
61
61
|
vbguest will try to autodetect the best option for your system. WTF? see below.
|
62
62
|
* `auto_update` (Boolean, default: `true`) : Whether to check the correct additions version on each start (where start is _not_ resuming a box).
|
63
63
|
* `auto_reboot` (Boolean, default: `true` when running as a middleware, `false` when running as a command) : Whether to reboot the box after GuestAdditions has been installed, but not loaded.
|
@@ -91,12 +91,12 @@ Settings in a project's `Vagrantfile` will overwrite those setting. When execute
|
|
91
91
|
|
92
92
|
### Running as a middleware
|
93
93
|
|
94
|
-
Running as a middleware
|
94
|
+
Running as a middleware is the default way of using *vagrant-vbguest*.
|
95
95
|
It will run automatically right after the box started. This is each time the box boots, i.e. `vagrant up` or `vagrant reload`.
|
96
96
|
It won't run on `vagrant resume` (or `vagrant up` a suspended box) to save you some time resuming a box.
|
97
97
|
|
98
98
|
You may switch off the middleware by setting the vm's config `vbguest.auto_update` to `false`.
|
99
|
-
This is a per box
|
99
|
+
This is a per box setting. On multi vm environments you need to set that for each vm.
|
100
100
|
|
101
101
|
When *vagrant-vbguest* is running it will provide you some logs:
|
102
102
|
|
@@ -151,7 +151,7 @@ When *vagrant-vbguest* is running it will provide you some logs:
|
|
151
151
|
|
152
152
|
The plugin's part starts at `[default] Installing Virtualbox Guest Additions 4.1.14 - guest's version is 4.1.1`, telling you that:
|
153
153
|
|
154
|
-
* the guest addition of the box *default*
|
154
|
+
* the guest addition of the box *default* is outdated (or mismatching)
|
155
155
|
* which guest additions iso file will be used
|
156
156
|
* which installer script will be used
|
157
157
|
* all the VirtualBox Guest Additions installer output.
|
@@ -176,9 +176,9 @@ When you switched off the middleware auto update, or you have a box up and runni
|
|
176
176
|
$ vagrant vbguest [vm-name] [--do start|rebuild|install] [--status] [-f|--force] [-b|--auto-reboot] [-R|--no-remote] [--iso VBoxGuestAdditions.iso]
|
177
177
|
```
|
178
178
|
|
179
|
-
For example, when you just updated
|
179
|
+
For example, when you just updated VirtualBox on your host system, you should update the guest additions right away. However, you may need to reload the box to get the guest additions working.
|
180
180
|
|
181
|
-
If you want to check the guest additions
|
181
|
+
If you want to check the guest additions version, without installing, you may run:
|
182
182
|
|
183
183
|
```bash
|
184
184
|
$ vagrant vbguest --status
|
@@ -193,7 +193,7 @@ or a match:
|
|
193
193
|
[default] GuestAdditions 4.2.6 running --- OK.
|
194
194
|
|
195
195
|
|
196
|
-
The `auto-reboot` is
|
196
|
+
The `auto-reboot` is turned off by default when running as a command. Vbguest will suggest you to reboot the box when needed. To turn it on simply pass the `--auto-reboot` parameter:
|
197
197
|
|
198
198
|
```bash
|
199
199
|
$ vagrant vbguest --auto-reboot
|
@@ -212,7 +212,7 @@ $ vagrant vbguest --auto-reboot --no-provision
|
|
212
212
|
*vagrant-vbguest* will try to autodetect a VirtualBox GuestAdditions iso file on your system, which usually matches your installed version of VirtualBox. If it cannot find one, it downloads one from the web (virtualbox.org).
|
213
213
|
Those places will be checked in order:
|
214
214
|
|
215
|
-
1. Checks your
|
215
|
+
1. Checks your VirtualBox "Virtual Media Maganger" for a DVD called "VBoxGuestAdditions.iso"
|
216
216
|
2. Guess by your host operating system:
|
217
217
|
* for linux : `/usr/share/virtualbox/VBoxGuestAdditions.iso`
|
218
218
|
* for Mac : `/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso`
|
@@ -221,9 +221,9 @@ Those places will be checked in order:
|
|
221
221
|
|
222
222
|
### Automatic reboot
|
223
223
|
|
224
|
-
The VirtualBox GuestAdditions Installer will try to load the newly
|
224
|
+
The VirtualBox GuestAdditions Installer will try to load the newly built kernel module. However the installer may fail to load, just as it is happening when updating GuestAdditions from version 4.1 to 4.2.
|
225
225
|
|
226
|
-
|
226
|
+
Hence, vbguest will check for a loaded kernel module after the installation has finished and reboots the box, if it could not find one.
|
227
227
|
|
228
228
|
|
229
229
|
## Advanced Usage
|
@@ -259,9 +259,9 @@ end
|
|
259
259
|
```
|
260
260
|
|
261
261
|
|
262
|
-
##
|
262
|
+
## Known Issues
|
263
263
|
|
264
|
-
* The installer script, which mounts and runs the GuestAdditions Installer Binary, works on
|
264
|
+
* The installer script, which mounts and runs the GuestAdditions Installer Binary, works on Linux only. Most likely it will run on most Unix-like platforms.
|
265
265
|
* The installer script requires a directory `/mnt` on the guest system
|
266
266
|
* On multi vm boxes, the iso file will be downloaded for each vm
|
267
|
-
* The plugin installation on Windows host systems
|
267
|
+
* The plugin installation on Windows host systems may not work as expected (using `vagrant gem install vagrant-vbguest`). Try `C:\vagrant\vagrant\embedded\bin\gem.bat install vagrant-vbguest` instead. (See [issue #19](https://github.com/dotless-de/vagrant-vbguest/issues/19#issuecomment-7040304))
|
data/lib/vagrant-vbguest.rb
CHANGED
metadata
CHANGED
@@ -1,94 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vbguest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
5
|
-
prerelease:
|
4
|
+
version: 0.10.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Robert Schulze
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-10-08 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: micromachine
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 1.1.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 1.1.0
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: bundler
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 1.2.0
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 1.2.0
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: i18n
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: log4r
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rake
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '0'
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '0'
|
94
83
|
description: A Vagrant plugin which automatically installs the host's VirtualBox Guest
|
@@ -99,7 +88,7 @@ executables: []
|
|
99
88
|
extensions: []
|
100
89
|
extra_rdoc_files: []
|
101
90
|
files:
|
102
|
-
- .gitignore
|
91
|
+
- ".gitignore"
|
103
92
|
- CHANGELOG.md
|
104
93
|
- Gemfile
|
105
94
|
- LICENSE
|
@@ -146,29 +135,25 @@ files:
|
|
146
135
|
homepage: https://github.com/dotless-de/vagrant-vbguest
|
147
136
|
licenses:
|
148
137
|
- MIT
|
138
|
+
metadata: {}
|
149
139
|
post_install_message:
|
150
140
|
rdoc_options: []
|
151
141
|
require_paths:
|
152
142
|
- lib
|
153
143
|
required_ruby_version: !ruby/object:Gem::Requirement
|
154
|
-
none: false
|
155
144
|
requirements:
|
156
|
-
- -
|
145
|
+
- - ">="
|
157
146
|
- !ruby/object:Gem::Version
|
158
147
|
version: '0'
|
159
|
-
segments:
|
160
|
-
- 0
|
161
|
-
hash: 2424747477234363864
|
162
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
|
-
none: false
|
164
149
|
requirements:
|
165
|
-
- -
|
150
|
+
- - ">="
|
166
151
|
- !ruby/object:Gem::Version
|
167
152
|
version: 1.3.6
|
168
153
|
requirements: []
|
169
154
|
rubyforge_project:
|
170
|
-
rubygems_version:
|
155
|
+
rubygems_version: 2.4.5.1
|
171
156
|
signing_key:
|
172
|
-
specification_version:
|
157
|
+
specification_version: 4
|
173
158
|
summary: A Vagrant plugin to install the VirtualBoxAdditions into the guest VM
|
174
159
|
test_files: []
|