vagrant-vbguest 0.6.0.pre4 → 0.6.0.pre5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +16 -1
- data/Readme.md +3 -3
- data/lib/vagrant-vbguest/command.rb +1 -1
- data/lib/vagrant-vbguest/middleware.rb +1 -1
- data/lib/vagrant-vbguest/version.rb +1 -1
- data/vagrant-vbguest.gemspec +2 -6
- metadata +85 -60
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,19 @@
|
|
1
1
|
## 0.6.0 (unreleased)
|
2
2
|
|
3
|
-
|
3
|
+
- Debian installer now cope with missing `dkms` package [GH-30]
|
4
|
+
- Fixed some issues when runnig on just creating boxes [GH-31]
|
5
|
+
- Fixed workding (thx @scalp42) [GH-32]
|
6
|
+
- Add debug logging
|
7
|
+
- Installers no longer are shell scripts, but ruby classes
|
8
|
+
- Users may pass in their own installer classes
|
9
|
+
(yes! plugins in plugins)
|
10
|
+
- Revisited command arguments to not just mirror config values:
|
11
|
+
- New `--do` argument: force-run one of those commands:
|
12
|
+
* `start` : Try to start the GuestAdditions Service
|
13
|
+
* `rebuild` : Rebuild the currently installed Guest Additions
|
14
|
+
* `install` : Run the installation process from "iso file"
|
15
|
+
- New `--status` argument
|
16
|
+
- Removed `-I|--no-install` argument (instead use `--status`)
|
4
17
|
|
5
18
|
## 0.5.1 (2012-11-30)
|
6
19
|
|
@@ -12,6 +25,8 @@
|
|
12
25
|
|
13
26
|
- Box will be rebooted if the GuestAdditions installation
|
14
27
|
process does not load the kernel module [GH-25], [GH-24]
|
28
|
+
- Add `--auto-reboot` argument to allow rebooting when running as a
|
29
|
+
command (which is disabled by default when runnind as command)
|
15
30
|
- Adds this Changelog
|
16
31
|
|
17
32
|
## 0.4.0 (2012-10-21)
|
data/Readme.md
CHANGED
@@ -31,7 +31,7 @@ Vagrant::Config.run do |config|
|
|
31
31
|
# However, if we cannot or you have a special one you may pass it like:
|
32
32
|
# config.vbguest.iso_path = "#{ENV['HOME']}/Downloads/VBoxGuestAdditions.iso"
|
33
33
|
# or
|
34
|
-
# config.vbguest.iso_path = "http://company.server/VirtualBox
|
34
|
+
# config.vbguest.iso_path = "http://company.server/VirtualBox/%{version}/VBoxGuestAdditions.iso"
|
35
35
|
|
36
36
|
# set auto_update to false, if do NOT want to check the correct additions
|
37
37
|
# version when booting this machine
|
@@ -45,8 +45,8 @@ end
|
|
45
45
|
### Config options
|
46
46
|
|
47
47
|
* `iso_path` : The full path or URL to the VBoxGuestAdditions.iso file. <br/>
|
48
|
-
The `iso_path` may contain the optional placeholder
|
49
|
-
The URI for the actual iso download reads: `http://download.virtualbox.org/virtualbox
|
48
|
+
The `iso_path` may contain the optional placeholder `%{version}` for the detected version (e.g. `4.1.8`).
|
49
|
+
The URI for the actual iso download reads: `http://download.virtualbox.org/virtualbox/%{version}/VBoxGuestAdditions_%{version}.iso`<br/>
|
50
50
|
vbguest will try to autodetect the best option for your system. WTF? see below.
|
51
51
|
* `auto_update` (Boolean, default: `true`) : Whether to check the correct additions version on each start (where start is _not_ resuming a box).
|
52
52
|
* `auto_reboot` (Boolean, dafult: `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.
|
@@ -77,7 +77,7 @@ module VagrantVbguest
|
|
77
77
|
options = vm.config.vbguest.to_hash.merge(options)
|
78
78
|
machine = VagrantVbguest::Machine.new(vm, options)
|
79
79
|
status = machine.state
|
80
|
-
vm.ui.send
|
80
|
+
vm.ui.send((:ok == status ? :success : :warn), I18n.t("vagrant.plugins.vbguest.status.#{status}", machine.info))
|
81
81
|
|
82
82
|
if _method != :status
|
83
83
|
machine.send(_method)
|
@@ -20,7 +20,7 @@ module VagrantVbguest
|
|
20
20
|
if options[:auto_update]
|
21
21
|
machine = VagrantVbguest::Machine.new vm, options
|
22
22
|
status = machine.state
|
23
|
-
vm.ui.send
|
23
|
+
vm.ui.send((:ok == status ? :success : :warn), I18n.t("vagrant.plugins.vbguest.status.#{status}", machine.info))
|
24
24
|
machine.run
|
25
25
|
reboot(vm, options) if machine.reboot?
|
26
26
|
end
|
data/vagrant-vbguest.gemspec
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
require "vagrant-vbguest/version"
|
2
|
+
require File.expand_path('../lib/vagrant-vbguest/version', __FILE__)
|
4
3
|
|
5
4
|
Gem::Specification.new do |s|
|
6
5
|
s.name = "vagrant-vbguest"
|
@@ -14,12 +13,9 @@ Gem::Specification.new do |s|
|
|
14
13
|
s.description = %q{A Vagrant plugin which automatically installs the host's VirtualBox Guest Additions on the guest system.}
|
15
14
|
|
16
15
|
s.required_rubygems_version = ">= 1.3.6"
|
17
|
-
#s.rubyforge_project = "vagrant-vbguest"
|
18
16
|
|
19
|
-
# specify any dependencies here; for example:
|
20
|
-
# s.add_development_dependency "rspec"
|
21
|
-
# s.add_runtime_dependency "rest-client"
|
22
17
|
s.add_dependency "micromachine", "~> 1.0.4"
|
18
|
+
s.add_dependency "i18n", "~> 0.6.0"
|
23
19
|
s.add_dependency "log4r", "~> 1.1.9"
|
24
20
|
|
25
21
|
s.add_development_dependency "bundler", ">= 1.2.0"
|
metadata
CHANGED
@@ -1,72 +1,89 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vbguest
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: true
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 6
|
8
|
+
- 0
|
9
|
+
- pre5
|
10
|
+
version: 0.6.0.pre5
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Robert Schulze
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2013-01-04 00:00:00 +01:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: micromachine
|
16
|
-
|
17
|
-
|
18
|
-
requirements:
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
19
26
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 1
|
30
|
+
- 0
|
31
|
+
- 4
|
21
32
|
version: 1.0.4
|
22
33
|
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: i18n
|
23
37
|
prerelease: false
|
24
|
-
|
25
|
-
|
26
|
-
requirements:
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
27
40
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
requirements:
|
35
|
-
- - ~>
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: 1.1.9
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
segments:
|
43
|
+
- 0
|
44
|
+
- 6
|
45
|
+
- 0
|
46
|
+
version: 0.6.0
|
38
47
|
type: :runtime
|
48
|
+
version_requirements: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: log4r
|
39
51
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
requirements:
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
43
54
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
segments:
|
57
|
+
- 1
|
58
|
+
- 1
|
59
|
+
- 9
|
45
60
|
version: 1.1.9
|
46
|
-
|
61
|
+
type: :runtime
|
62
|
+
version_requirements: *id003
|
63
|
+
- !ruby/object:Gem::Dependency
|
47
64
|
name: bundler
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.2.0
|
54
|
-
type: :development
|
55
65
|
prerelease: false
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
66
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
segments:
|
71
|
+
- 1
|
72
|
+
- 2
|
73
|
+
- 0
|
61
74
|
version: 1.2.0
|
62
|
-
|
63
|
-
|
64
|
-
|
75
|
+
type: :development
|
76
|
+
version_requirements: *id004
|
77
|
+
description: A Vagrant plugin which automatically installs the host's VirtualBox Guest Additions on the guest system.
|
78
|
+
email:
|
65
79
|
- robert@dotless.de
|
66
80
|
executables: []
|
81
|
+
|
67
82
|
extensions: []
|
83
|
+
|
68
84
|
extra_rdoc_files: []
|
69
|
-
|
85
|
+
|
86
|
+
files:
|
70
87
|
- .gitignore
|
71
88
|
- CHANGELOG.md
|
72
89
|
- Gemfile
|
@@ -90,29 +107,37 @@ files:
|
|
90
107
|
- lib/vagrant_init.rb
|
91
108
|
- locales/en.yml
|
92
109
|
- vagrant-vbguest.gemspec
|
110
|
+
has_rdoc: true
|
93
111
|
homepage: https://github.com/dotless-de/vagrant-vbguest
|
94
|
-
licenses:
|
112
|
+
licenses:
|
95
113
|
- MIT
|
96
114
|
post_install_message:
|
97
115
|
rdoc_options: []
|
98
|
-
|
116
|
+
|
117
|
+
require_paths:
|
99
118
|
- lib
|
100
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
requirements:
|
109
|
-
- -
|
110
|
-
- !ruby/object:Gem::Version
|
119
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
segments:
|
124
|
+
- 0
|
125
|
+
version: "0"
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
segments:
|
131
|
+
- 1
|
132
|
+
- 3
|
133
|
+
- 6
|
111
134
|
version: 1.3.6
|
112
135
|
requirements: []
|
136
|
+
|
113
137
|
rubyforge_project:
|
114
|
-
rubygems_version: 1.
|
138
|
+
rubygems_version: 1.3.6
|
115
139
|
signing_key:
|
116
140
|
specification_version: 3
|
117
141
|
summary: A Vagrant plugin to install the VirtualBoxAdditions into the guest VM
|
118
142
|
test_files: []
|
143
|
+
|