vagrant-vbguest 0.7.0 → 0.7.1
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 +7 -1
- data/Readme.md +2 -2
- data/lib/vagrant-vbguest/command.rb +0 -6
- data/lib/vagrant-vbguest/helpers.rb +11 -4
- data/lib/vagrant-vbguest/middleware.rb +0 -7
- data/lib/vagrant-vbguest/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 0.7.1
|
2
|
+
|
3
|
+
- Fix auto-reloading for vagrant 1.1 [GH-52]
|
4
|
+
Also changes the reload method for vagrant 1.0 when ran
|
5
|
+
as middleware (to not run buildin actions manually).
|
6
|
+
|
1
7
|
## 0.7.0
|
2
8
|
|
3
9
|
- When looking for a GuestAdditions iso file in media manager
|
@@ -31,7 +37,7 @@
|
|
31
37
|
Installers, when executing shell commands on the guest system,
|
32
38
|
should use vbguests `communicate` wrapper. e.g.:
|
33
39
|
A call like `vm.channel.sudo 'apt-get update'` should be
|
34
|
-
changed to `
|
40
|
+
changed to `communicate.sudo 'apt-get update'`
|
35
41
|
The old `vm.channel` syntax will continue to work on vagrant 1.0.x
|
36
42
|
but will fail on vagrant 1.1.x.
|
37
43
|
|
data/Readme.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
Requires vagrant 0.9.4 or later (including 1.0 and 1.1)
|
8
8
|
|
9
|
-
|
9
|
+
### Vagrant 1.1
|
10
10
|
|
11
11
|
```bash
|
12
12
|
$ vagrant plugin install vagrant-vbguest
|
@@ -249,7 +249,7 @@ end
|
|
249
249
|
|
250
250
|
## Knows Issues
|
251
251
|
|
252
|
-
* The installer script, which mounts and runs the GuestAdditions Installer Binary, works on linux only. Most likely it will run on most unix-like plattform.
|
252
|
+
* The installer script, which mounts and runs the GuestAdditions Installer Binary, works on linux only. Most likely it will run on most unix-like plattform.
|
253
253
|
* The installer script requires a directory `/mnt` on the guest system
|
254
254
|
* On multi vm boxes, the iso file will be downloaded for each vm
|
255
255
|
* The plugin installation on Windows host systems my 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))
|
@@ -9,16 +9,23 @@ module VagrantVbguest
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def reboot(vm, options)
|
12
|
-
if rebooted?(vm)
|
13
|
-
vm.ui.error(I18n.t("vagrant.plugins.vbguest.restart_loop_guard_activated"))
|
12
|
+
run_reboot = if rebooted?(vm)
|
13
|
+
vm.env.ui.error(I18n.t("vagrant.plugins.vbguest.restart_loop_guard_activated"))
|
14
14
|
false
|
15
15
|
elsif options[:auto_reboot]
|
16
|
-
vm.ui.warn(I18n.t("vagrant.plugins.vbguest.restart_vm"))
|
16
|
+
vm.env.ui.warn(I18n.t("vagrant.plugins.vbguest.restart_vm"))
|
17
17
|
@@rebooted[ VmCompatible.vm_id(vm) ] = true
|
18
18
|
else
|
19
|
-
vm.ui.warn(I18n.t("vagrant.plugins.vbguest.suggest_restart", :name => vm.name))
|
19
|
+
vm.env.ui.warn(I18n.t("vagrant.plugins.vbguest.suggest_restart", :name => vm.name))
|
20
20
|
false
|
21
21
|
end
|
22
|
+
return unless run_reboot
|
23
|
+
|
24
|
+
if Vagrant::VERSION < '1.1.0'
|
25
|
+
vm.reload(options)
|
26
|
+
else
|
27
|
+
vm.action(:reload, options)
|
28
|
+
end
|
22
29
|
end
|
23
30
|
end
|
24
31
|
|
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.7.
|
4
|
+
version: 0.7.1
|
5
5
|
prerelease:
|
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-03-
|
12
|
+
date: 2013-03-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: micromachine
|
@@ -125,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
125
125
|
version: '0'
|
126
126
|
segments:
|
127
127
|
- 0
|
128
|
-
hash:
|
128
|
+
hash: -3661598601384978746
|
129
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
130
|
none: false
|
131
131
|
requirements:
|