vagrant-parallels 2.4.7 → 2.4.9

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: 3d5cf03cd20b2f6301ec9b033412547e74ade455d33ef10aa6b6658fb85e7d1d
4
- data.tar.gz: 2aaf5d193753e305ccc90f4c3ee54aaefbf4c8bd31d82a5574c52930ece83aa9
3
+ metadata.gz: 47ce7a17714fcfd595b2a49fd3710cbb3c1e6c38dd8db5fe27d348daec22b45e
4
+ data.tar.gz: 5d5be0f69f5e992f5b6dbadf8c88bcf72653d033df5eb345ae6b2a7bc0e8084d
5
5
  SHA512:
6
- metadata.gz: d54417fb857c4a319e8a3b7368f42ad0229b441ba7a50502af06bf973f23452af4fac9ddcdfb16f4daef65c3c9ca3674d54ee4cd47c42512c9d19ff778af49a8
7
- data.tar.gz: 03ede13340f7c101648242af048c357916f2564f8004c28c5b6759513281256f6fed1f70ed7bd97bee416593e721e0c90932c606eda9474532cec5257586e00c
6
+ metadata.gz: c21f256655188bf762b8521bf5d14220751db5eaecbd0684c2050fff87f58a7df1a141d599d43c7f71113e49b7dbfae598870a5135d9371e51ea47c5a963bed4
7
+ data.tar.gz: 29a7f8164d7be24d480f5943c70bef8763a06ba2ff716a66e090bae532ff126249ab43ec96ca44341a0cd19d43831645374cf55d4f4995939a8b400b549cd271
@@ -67,6 +67,20 @@ module VagrantPlugins
67
67
  # Create the guest path if it doesn't exist
68
68
  machine.communicate.sudo("mkdir -p #{guest_path}")
69
69
 
70
+ # On Ubuntu 26.04+, AppArmor's fusermount3 profile blocks FUSE mounts by default.
71
+ # Add an override rule for this mountpoint and reload the profile.
72
+ # AppArmor requires a trailing slash on directory paths in mount rules.
73
+ apparmor_mountpoint = guestpath.end_with?('/') ? guestpath : "#{guestpath}/"
74
+ apparmor_setup = <<-CMD
75
+ if [ -f /usr/bin/prl_fsd ] && [ -f /etc/apparmor.d/fusermount3 ]; then
76
+ mkdir -p /etc/apparmor.d/local
77
+ rule="mount fstype=@{fuse_types} -> #{apparmor_mountpoint},"
78
+ grep -qF "$rule" /etc/apparmor.d/local/fusermount3 2>/dev/null || echo "$rule" >> /etc/apparmor.d/local/fusermount3
79
+ apparmor_parser -r /etc/apparmor.d/fusermount3
80
+ fi
81
+ CMD
82
+ machine.communicate.sudo(apparmor_setup)
83
+
70
84
  # Attempt to mount the folder. We retry here a few times because
71
85
  # it can fail early on.
72
86
  stderr = ""
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Parallels
3
- VERSION = '2.4.7'
3
+ VERSION = '2.4.9'
4
4
  end
5
5
  end
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.7
4
+ version: 2.4.9
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-06-26 00:00:00.000000000 Z
12
+ date: 2026-06-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri