vagrant-parallels 2.4.5 → 2.4.7
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +24 -12
- data/lib/vagrant-parallels/guest_cap/linux/mount_parallels_shared_folder.rb +19 -2
- data/lib/vagrant-parallels/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d5cf03cd20b2f6301ec9b033412547e74ade455d33ef10aa6b6658fb85e7d1d
|
4
|
+
data.tar.gz: 2aaf5d193753e305ccc90f4c3ee54aaefbf4c8bd31d82a5574c52930ece83aa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d54417fb857c4a319e8a3b7368f42ad0229b441ba7a50502af06bf973f23452af4fac9ddcdfb16f4daef65c3c9ca3674d54ee4cd47c42512c9d19ff778af49a8
|
7
|
+
data.tar.gz: 03ede13340f7c101648242af048c357916f2564f8004c28c5b6759513281256f6fed1f70ed7bd97bee416593e721e0c90932c606eda9474532cec5257586e00c
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# Vagrant Parallels Provider
|
2
|
+
|
2
3
|
[](https://badge.fury.io/rb/vagrant-parallels)
|
3
4
|
[](https://travis-ci.org/Parallels/vagrant-parallels)
|
4
5
|
[](https://codeclimate.com/github/Parallels/vagrant-parallels)
|
@@ -7,16 +8,18 @@ _Vagrant Parallels Provider_ is a plugin for [Vagrant](https://www.vagrantup.com
|
|
7
8
|
allowing to manage [Parallels Desktop](https://www.parallels.com/products/desktop/)
|
8
9
|
virtual machines on macOS hosts.
|
9
10
|
|
10
|
-
|
11
|
+
## Requirements
|
12
|
+
|
11
13
|
- [Vagrant v1.9.7](https://www.vagrantup.com) or higher
|
12
14
|
- [Parallels Desktop 11 for Mac](https://www.parallels.com/products/desktop/) or higher
|
13
15
|
|
14
|
-
|
16
|
+
_Note:_ Only **Pro**, **Business** and **Enterprise** editions of **Parallels Desktop for Mac**
|
15
17
|
are compatible with this Vagrant provider.
|
16
18
|
Standard edition doesn't have a full command line functionality and can not be used
|
17
19
|
with Vagrant.
|
18
20
|
|
19
21
|
## Features
|
22
|
+
|
20
23
|
The Parallels provider supports all basic Vagrant features, including Shared Folders,
|
21
24
|
Private and Public Networking, Forwarded ports and Vagrant Share.
|
22
25
|
|
@@ -24,14 +27,22 @@ If you're just getting started with Vagrant, it is highly recommended that you
|
|
24
27
|
read the official [Vagrant documentation](https://docs.vagrantup.com/v2/) first.
|
25
28
|
|
26
29
|
## Installation
|
30
|
+
|
27
31
|
Make sure that you have [Parallels Desktop for Mac](https://www.parallels.com/products/desktop/)
|
28
|
-
and [Vagrant](https://www.vagrantup.com/downloads.html) properly installed.
|
29
|
-
|
32
|
+
and [Vagrant](https://www.vagrantup.com/downloads.html) properly installed. We recommend
|
33
|
+
that you use the latest versions of these products.
|
30
34
|
|
31
|
-
|
35
|
+
Additionally, you'll need the command line software development tools provided as a part of Xcode
|
36
|
+
to be able to build the plugin on your machine. To install these, run this command:
|
32
37
|
|
38
|
+
```shell
|
39
|
+
xcode-select --install
|
33
40
|
```
|
34
|
-
|
41
|
+
|
42
|
+
You can then install the Parallels provider plugin for Vagrant. Run this command to install it:
|
43
|
+
|
44
|
+
```shell
|
45
|
+
vagrant plugin install vagrant-parallels
|
35
46
|
```
|
36
47
|
|
37
48
|
## Provider Documentation
|
@@ -40,9 +51,10 @@ More information about the Parallels provider is available in
|
|
40
51
|
[Vagrant Parallels Documentation](https://parallels.github.io/vagrant-parallels/docs/)
|
41
52
|
|
42
53
|
We recommend you to start from these pages:
|
43
|
-
|
44
|
-
|
45
|
-
|
54
|
+
|
55
|
+
- [Usage](https://parallels.github.io/vagrant-parallels/docs/usage.html)
|
56
|
+
- [Getting Started](https://parallels.github.io/vagrant-parallels/docs/getting-started.html)
|
57
|
+
- [Boxes](https://parallels.github.io/vagrant-parallels/docs/boxes/index.html)
|
46
58
|
|
47
59
|
## Getting Help
|
48
60
|
|
@@ -51,8 +63,8 @@ please report it on the [Issue Tracker](https://github.com/Parallels/vagrant-par
|
|
51
63
|
|
52
64
|
## License and Authors
|
53
65
|
|
54
|
-
|
55
|
-
|
56
|
-
|
66
|
+
- Author: Youssef Shahin <yshahin@gmail.com>
|
67
|
+
- Author: Mikhail Zholobov <legal90@gmail.com>
|
68
|
+
- Copyright 2013-2023, Parallels International GmbH.
|
57
69
|
|
58
70
|
Vagrant Parallels Provider is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
|
@@ -38,10 +38,27 @@ module VagrantPlugins
|
|
38
38
|
|
39
39
|
# prl_fsd does not support the _netdev option, so we need to remove it from the mount options
|
40
40
|
# for supported mount_options check prl_fsd --help in guest machine after installing Parallels Tools
|
41
|
-
|
41
|
+
|
42
|
+
# the `share` option needs to be passed as an extra `--share` argument
|
43
|
+
|
44
|
+
prl_fsd_mount_options = mount_options.split(',').reject { |opt| opt == '_netdev' }
|
45
|
+
|
46
|
+
prl_fsd_mount_options << "big_writes"
|
47
|
+
prl_fsd_mount_options << "fsname=#{name}"
|
48
|
+
prl_fsd_mount_options << "subtype=prl_fsd"
|
49
|
+
|
50
|
+
if mount_options.include?('share')
|
51
|
+
share_flag = '--share'
|
52
|
+
prl_fsd_mount_options.reject! { |opt| opt == 'share' || opt.start_with?('uid=', 'gid=') }
|
53
|
+
else
|
54
|
+
share_flag = ''
|
55
|
+
end
|
56
|
+
|
57
|
+
o_options = prl_fsd_mount_options.join(',')
|
58
|
+
|
42
59
|
mount_command = <<-CMD
|
43
60
|
if [ -f /usr/bin/prl_fsd ]; then
|
44
|
-
prl_fsd #{guest_path} -o
|
61
|
+
prl_fsd #{guest_path} -o #{o_options} #{share_flag} --sf=#{name}
|
45
62
|
else
|
46
63
|
mount -t #{mount_type} -o #{mount_options} #{name} #{guest_path}
|
47
64
|
fi
|
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: 2.4.
|
4
|
+
version: 2.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikhail Zholobov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-
|
12
|
+
date: 2025-06-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|