vagrant-parallels 2.4.4 → 2.4.5
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03f9114e1ce20849f5383be6f83986473948c69bd9a22d8584ed19d78b900e09
|
4
|
+
data.tar.gz: faafff74c3dc005eb111e7bffc99dd5f796e3135f93c4235bfecc6c29ab711fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48a5dc378ccfe4e4f4b3e726c6e2a31824d9753a0b788577d86738decbc72b221679fca127295e1cdc8733f82798420550ab5ef0641077188776675bd48bf0de
|
7
|
+
data.tar.gz: cafca624eaa6824208fb5293c06b215148f3ee2f540e2eb46d8c39111116505e62b9c9d4fe5738029864f44fa8b649cfeb7bb465e1556fff550bfda4c24c227c
|
@@ -22,8 +22,14 @@ module VagrantPlugins
|
|
22
22
|
# Convert to full-sized VM, copy all external and linked disks (if any)
|
23
23
|
convert_to_full(env)
|
24
24
|
|
25
|
-
# Compact all virtual disks
|
26
|
-
|
25
|
+
# Compact all virtual disks
|
26
|
+
# Note: The macvm (macOS VM on Apple Silicon Macs) only supports PLAIN virtual disks.
|
27
|
+
# As a result, these disks cannot be compacted. Therefore, the compacting step
|
28
|
+
# should be skipped for macvms.
|
29
|
+
|
30
|
+
if !Util::Common::is_macvm(env[:machine])
|
31
|
+
compact(env)
|
32
|
+
end
|
27
33
|
|
28
34
|
# Preparations completed. Unregister before packaging
|
29
35
|
unregister_vm(env)
|
@@ -33,13 +33,15 @@ module VagrantPlugins
|
|
33
33
|
@@logger.debug("Mounting #{name} (#{options[:hostpath]} to #{guestpath})")
|
34
34
|
|
35
35
|
mount_options, mount_uid, mount_gid = options[:plugin].capability(:mount_options, name, guest_path, options)
|
36
|
-
# mount_command = "mount -t #{mount_type} -o #{mount_options} #{name} #{guest_path}"
|
37
36
|
# In Parallels 20.2.0, prl_fs is removed and shares stop working with the
|
38
|
-
# `mount` command. Using prl_fsd fixes this
|
39
|
-
|
37
|
+
# `mount` command. Using prl_fsd fixes this issue.
|
38
|
+
|
39
|
+
# prl_fsd does not support the _netdev option, so we need to remove it from the mount options
|
40
|
+
# for supported mount_options check prl_fsd --help in guest machine after installing Parallels Tools
|
41
|
+
prl_fsd_mount_options = mount_options.split(',').reject { |opt| opt == '_netdev' }.join(',')
|
40
42
|
mount_command = <<-CMD
|
41
43
|
if [ -f /usr/bin/prl_fsd ]; then
|
42
|
-
prl_fsd #{guest_path} -o
|
44
|
+
prl_fsd #{guest_path} -o big_writes,#{prl_fsd_mount_options},fsname=#{name},subtype=prl_fsd --sf=#{name}
|
43
45
|
else
|
44
46
|
mount -t #{mount_type} -o #{mount_options} #{name} #{guest_path}
|
45
47
|
fi
|
data/locales/en.yml
CHANGED
@@ -75,8 +75,10 @@ en:
|
|
75
75
|
This is an internal error that should be reported as a bug.
|
76
76
|
parallels_mount_failed: |-
|
77
77
|
Vagrant was unable to mount Parallels Desktop shared folders. This is usually
|
78
|
-
because the filesystem "prl_fs" is not available
|
79
|
-
|
78
|
+
because the filesystem "prl_fs" is not available OR you are passing
|
79
|
+
unsupported mount options to prl_fsd daemon for supported options please refer
|
80
|
+
to the prl_fsd --help in VM.
|
81
|
+
"prl_fs"/"prl_fsd" are available via the Parallels Tools and kernel module.
|
80
82
|
Please verify that these guest tools are properly installed in the
|
81
83
|
guest. This is not a bug in Vagrant and is usually caused by a faulty
|
82
84
|
Vagrant box. For context, the command attempted was:
|
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.5
|
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-03-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|