vagrant-parallels 2.4.7 → 2.4.10
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: fce2d3e43daba304c3b31edc10528dea42f05b53178fb4f498f2251960cb8f62
|
|
4
|
+
data.tar.gz: 46269cac5171868dbd3eecd68b26b077856de79171e64750acb97c438f1597cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 194a9df95f1937043e96c393b06821c97446d69246cd444019c84dd4934e420a00a08ec24eaaf1f6179d8c793d749a0296212239d59088479b5347f18bf0b994
|
|
7
|
+
data.tar.gz: 58933dc3e3442ec5ea16cf2689d7e9b4dd59cda1034b7807504244002da02f83aedbe608ba4631c28915900fcc161a55bdeb89ccbf687ac44418250696381210
|
|
@@ -43,7 +43,17 @@ module VagrantPlugins
|
|
|
43
43
|
|
|
44
44
|
prl_fsd_mount_options = mount_options.split(',').reject { |opt| opt == '_netdev' }
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
# The `big_writes` mount option was removed in libfuse3 (guests that
|
|
47
|
+
# ship `fusermount3`, e.g. Ubuntu 24.04+), since big writes have been
|
|
48
|
+
# negotiated automatically via the FUSE_BIG_WRITES capability since
|
|
49
|
+
# Linux kernel 2.6.26. Passing it on a libfuse3 guest causes prl_fsd
|
|
50
|
+
# to fail outright with:
|
|
51
|
+
# fuse: unknown option(s): `-o big_writes'
|
|
52
|
+
# On libfuse2 guests (only `fusermount`, no `fusermount3` binary) the
|
|
53
|
+
# option is still the way to opt in to larger write sizes, so keep
|
|
54
|
+
# passing it there for backwards compatibility (e.g. Ubuntu 18.04).
|
|
55
|
+
uses_fuse3 = machine.communicate.test("command -v fusermount3")
|
|
56
|
+
prl_fsd_mount_options << "big_writes" unless uses_fuse3
|
|
47
57
|
prl_fsd_mount_options << "fsname=#{name}"
|
|
48
58
|
prl_fsd_mount_options << "subtype=prl_fsd"
|
|
49
59
|
|
|
@@ -67,6 +77,20 @@ module VagrantPlugins
|
|
|
67
77
|
# Create the guest path if it doesn't exist
|
|
68
78
|
machine.communicate.sudo("mkdir -p #{guest_path}")
|
|
69
79
|
|
|
80
|
+
# On Ubuntu 26.04+, AppArmor's fusermount3 profile blocks FUSE mounts by default.
|
|
81
|
+
# Add an override rule for this mountpoint and reload the profile.
|
|
82
|
+
# AppArmor requires a trailing slash on directory paths in mount rules.
|
|
83
|
+
apparmor_mountpoint = guestpath.end_with?('/') ? guestpath : "#{guestpath}/"
|
|
84
|
+
apparmor_setup = <<-CMD
|
|
85
|
+
if [ -f /usr/bin/prl_fsd ] && [ -f /etc/apparmor.d/fusermount3 ]; then
|
|
86
|
+
mkdir -p /etc/apparmor.d/local
|
|
87
|
+
rule="mount fstype=@{fuse_types} -> #{apparmor_mountpoint},"
|
|
88
|
+
grep -qF "$rule" /etc/apparmor.d/local/fusermount3 2>/dev/null || echo "$rule" >> /etc/apparmor.d/local/fusermount3
|
|
89
|
+
apparmor_parser -r /etc/apparmor.d/fusermount3
|
|
90
|
+
fi
|
|
91
|
+
CMD
|
|
92
|
+
machine.communicate.sudo(apparmor_setup)
|
|
93
|
+
|
|
70
94
|
# Attempt to mount the folder. We retry here a few times because
|
|
71
95
|
# it can fail early on.
|
|
72
96
|
stderr = ""
|
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.10
|
|
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:
|
|
12
|
+
date: 2026-10-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: nokogiri
|