vagrant-parallels 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -3
- data/lib/vagrant-parallels/action/sane_defaults.rb +1 -0
- data/lib/vagrant-parallels/driver/base.rb +1 -1
- data/lib/vagrant-parallels/guest_cap/windows/install_parallels_tools.rb +35 -0
- data/lib/vagrant-parallels/plugin.rb +5 -0
- data/lib/vagrant-parallels/version.rb +1 -1
- metadata +7 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 552be61a656c2a33b82a7a795e70a2c724b97775
|
4
|
+
data.tar.gz: bb342ee8dfa1c1c3c1d90df669c24c554b587082
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a11232beb5c13701bfdca133283108400747b0419a2906534156969a0d26985afa1f8346ff7d79b0582e5388c807f1dfd79d2e81ff4ba53fe91ed8897381546
|
7
|
+
data.tar.gz: 90c304ca7360abe7b85b63decfc9c81a96b1201a4be44154f8bc86a7fec31a5705425349b7c1c167621fb0f6f1577b92ab0e46b852b5d433f3b84415a59a0ca5
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,24 @@
|
|
1
|
+
## 1.7.1 (December 7, 2016)
|
2
|
+
FEATURES:
|
3
|
+
- **Guest capability for installing Parallels Tools in Windows.** Now it is
|
4
|
+
possible to install/upgrade Parallels Tools in Windows guests using
|
5
|
+
the provider option `update_guest_tools`. [[GH-284](https://github.com/Parallels/vagrant-parallels/pull/284)]
|
6
|
+
|
7
|
+
BUG FIXES:
|
8
|
+
- Fix issues of auto-updating Parallels Tools in Linux guests with Parallels Desktop 12+.
|
9
|
+
[[GH-283](https://github.com/Parallels/vagrant-parallels/pull/283)],
|
10
|
+
[[GH-282](https://github.com/Parallels/vagrant-parallels/pull/282)],
|
11
|
+
[[GH-281](https://github.com/Parallels/vagrant-parallels/pull/281)]
|
12
|
+
|
13
|
+
|
1
14
|
## 1.7.0 (November 15, 2016)
|
2
15
|
BREAKING CHANGES:
|
3
16
|
- **Dropped support of Parallels Desktop 8 and 9**. These versions have
|
4
17
|
reached their [End-of-Life and End-of-Support](http://kb.parallels.com/eu/122533).
|
5
|
-
- **Removed customization options, which were previously deprecated:**
|
6
|
-
[[GH-271](https://github.com/Parallels/vagrant-parallels/pull/271)]
|
18
|
+
- **Removed customization options, which were previously deprecated:** [[GH-271](https://github.com/Parallels/vagrant-parallels/pull/271)]
|
7
19
|
- "use_linked_clone" - use `linked_clone` instead.
|
8
20
|
- "regen_box_uuid" - use `regen_src_uuid` instead.
|
9
|
-
- "optimize_power_consumption".
|
21
|
+
- "optimize_power_consumption".
|
10
22
|
|
11
23
|
FEATURES:
|
12
24
|
- **IPv6 Private Networks:** Private networking now supports IPv6.
|
@@ -0,0 +1,35 @@
|
|
1
|
+
module VagrantPlugins
|
2
|
+
module Parallels
|
3
|
+
module GuestWindowsCap
|
4
|
+
class InstallParallelsTools
|
5
|
+
def self.install_parallels_tools(machine)
|
6
|
+
machine.communicate.tap do |comm|
|
7
|
+
pti_agent_path = File.expand_path(
|
8
|
+
machine.provider.driver.read_guest_tools_iso_path('windows'),
|
9
|
+
machine.env.root_path
|
10
|
+
)
|
11
|
+
|
12
|
+
remote_file = '$env:TEMP\PTIAgent.exe'
|
13
|
+
comm.upload(pti_agent_path, remote_file)
|
14
|
+
|
15
|
+
install_script = <<-EOH
|
16
|
+
Start-Process -FilePath #{remote_file} `
|
17
|
+
-ArgumentList "/install_silent" `
|
18
|
+
-Verb RunAs `
|
19
|
+
-Wait
|
20
|
+
EOH
|
21
|
+
|
22
|
+
cleanup_script = <<-EOH
|
23
|
+
If (Test-Path #{remote_file}){
|
24
|
+
Remove-Item #{remote_file}
|
25
|
+
}
|
26
|
+
EOH
|
27
|
+
|
28
|
+
comm.execute(install_script)
|
29
|
+
comm.execute(cleanup_script)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -68,6 +68,11 @@ module VagrantPlugins
|
|
68
68
|
GuestLinuxCap::InstallParallelsTools
|
69
69
|
end
|
70
70
|
|
71
|
+
guest_capability(:windows, :install_parallels_tools) do
|
72
|
+
require_relative 'guest_cap/windows/install_parallels_tools'
|
73
|
+
GuestWindowsCap::InstallParallelsTools
|
74
|
+
end
|
75
|
+
|
71
76
|
provider_capability(:parallels, :public_address) do
|
72
77
|
require_relative 'cap'
|
73
78
|
Cap
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-parallels
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikhail Zholobov
|
@@ -9,36 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: bundler
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - ">="
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: 1.5.2
|
21
|
-
type: :development
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: 1.5.2
|
28
14
|
- !ruby/object:Gem::Dependency
|
29
15
|
name: rake
|
30
16
|
requirement: !ruby/object:Gem::Requirement
|
31
17
|
requirements:
|
32
|
-
- - "
|
18
|
+
- - "~>"
|
33
19
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
20
|
+
version: 11.3.0
|
35
21
|
type: :development
|
36
22
|
prerelease: false
|
37
23
|
version_requirements: !ruby/object:Gem::Requirement
|
38
24
|
requirements:
|
39
|
-
- - "
|
25
|
+
- - "~>"
|
40
26
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
27
|
+
version: 11.3.0
|
42
28
|
- !ruby/object:Gem::Dependency
|
43
29
|
name: nokogiri
|
44
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,6 +108,7 @@ files:
|
|
122
108
|
- lib/vagrant-parallels/guest_cap/darwin/mount_parallels_shared_folder.rb
|
123
109
|
- lib/vagrant-parallels/guest_cap/linux/install_parallels_tools.rb
|
124
110
|
- lib/vagrant-parallels/guest_cap/linux/mount_parallels_shared_folder.rb
|
111
|
+
- lib/vagrant-parallels/guest_cap/windows/install_parallels_tools.rb
|
125
112
|
- lib/vagrant-parallels/model/forwarded_port.rb
|
126
113
|
- lib/vagrant-parallels/plugin.rb
|
127
114
|
- lib/vagrant-parallels/provider.rb
|