vagrant-windows 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md
CHANGED
@@ -65,3 +65,6 @@
|
|
65
65
|
- Added Vagrant 1.4.0 support, added VBox synced folder monkey patch for Vagrant 1.4
|
66
66
|
- Fixed issue 149 - Added documentation about auto_correct for winrm port
|
67
67
|
- Fixed issue 152 - Chef task fails when password contains $
|
68
|
+
|
69
|
+
1.5.0
|
70
|
+
- Support for Parallels 8/9 VMs via vagrant-parallels plugin.
|
@@ -12,7 +12,11 @@ module VagrantWindows
|
|
12
12
|
def self.mount_vmware_shared_folder(machine, name, guestpath, options)
|
13
13
|
mount_shared_folder(machine, name, guestpath, "\\\\vmware-host\\Shared Folders\\")
|
14
14
|
end
|
15
|
-
|
15
|
+
|
16
|
+
def self.mount_parallels_shared_folder(machine, name, guestpath, options)
|
17
|
+
mount_shared_folder(machine, name, guestpath, "\\\\psf\\")
|
18
|
+
end
|
19
|
+
|
16
20
|
protected
|
17
21
|
|
18
22
|
def self.mount_shared_folder(machine, name, guestpath, vm_provider_unc_base)
|
@@ -34,9 +34,12 @@ module VagrantWindows
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def mount_shared_folder(name, guestpath, options)
|
37
|
-
if @windows_machine.is_vmware?
|
37
|
+
if @windows_machine.is_vmware?
|
38
38
|
VagrantWindows::Guest::Cap::MountSharedFolder.mount_vmware_shared_folder(
|
39
39
|
@machine, name, guestpath, options)
|
40
|
+
elsif @windows_machine.is_parallels?
|
41
|
+
VagrantWindows::Guest::Cap::MountSharedFolder.mount_parallels_shared_folder(
|
42
|
+
@machine, name, guestpath, options)
|
40
43
|
else
|
41
44
|
VagrantWindows::Guest::Cap::MountSharedFolder.mount_virtualbox_shared_folder(
|
42
45
|
@machine, name, guestpath, options)
|
@@ -92,7 +92,11 @@ module VagrantWindows
|
|
92
92
|
require_relative "guest/cap/mount_shared_folder"
|
93
93
|
VagrantWindows::Guest::Cap::MountSharedFolder
|
94
94
|
end
|
95
|
-
|
95
|
+
|
96
|
+
guest_capability(:windows, :mount_parallels_shared_folder) do
|
97
|
+
require_relative "guest/cap/mount_shared_folder"
|
98
|
+
VagrantWindows::Guest::Cap::MountSharedFolder
|
99
|
+
end
|
96
100
|
end
|
97
101
|
|
98
102
|
# This initializes the internationalization strings.
|
@@ -25,7 +25,14 @@ module VagrantWindows
|
|
25
25
|
def is_vmware?()
|
26
26
|
@machine.provider_name.to_s().start_with?('vmware')
|
27
27
|
end
|
28
|
-
|
28
|
+
|
29
|
+
# Checks to see if the machine is using Parallels Desktop.
|
30
|
+
#
|
31
|
+
# @return [Boolean]
|
32
|
+
def is_parallels?()
|
33
|
+
@machine.provider_name.to_s().start_with?('parallels')
|
34
|
+
end
|
35
|
+
|
29
36
|
# Checks to see if the machine is using Oracle VirtualBox.
|
30
37
|
#
|
31
38
|
# @return [Boolean]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-windows
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-12-
|
13
|
+
date: 2013-12-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: winrm
|
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
segments:
|
187
187
|
- 0
|
188
|
-
hash:
|
188
|
+
hash: -4266967096352305010
|
189
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
190
|
none: false
|
191
191
|
requirements:
|
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
version: '0'
|
195
195
|
segments:
|
196
196
|
- 0
|
197
|
-
hash:
|
197
|
+
hash: -4266967096352305010
|
198
198
|
requirements: []
|
199
199
|
rubyforge_project:
|
200
200
|
rubygems_version: 1.8.23
|