vagrant 2.4.8 → 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: f19af437fb31a0585525e07e85ce91a5228f36e18d8b2eebf8ee1741f3b7a0c3
4
- data.tar.gz: 3baa2535360dac9edde5b875852e8288bbff83f6cd690ddd0faa08040f13f8cc
3
+ metadata.gz: d243444ebb9a81fad676e9539adc680079d7e5642bc79a161c0db4cd8c033705
4
+ data.tar.gz: fc8bde545f4b944a7eb6968c4fee3787ea1df3c872909e2c67cbaa5437c034de
5
5
  SHA512:
6
- metadata.gz: 104b578f8065c53dd04b9896b745deec55f3b4fd31ae15f960c79be9392871082ce48c2e4e354977f1349d042da51b852c42410c106dc7d8b3927bdb3829874d
7
- data.tar.gz: 938479a8ef6fc6b425cb873ce8b561be0288dbd5cebbb3543d2c887ae97ea4df68159540ada26ced866d9728419bf9c3266cd5a8d61c07e1f8cfb3c56fb8d333
6
+ metadata.gz: 6c3448b074f2055093b3c9c7fc1d656d1ba91c97225bc269057e6ecb57803a2c88294902a566c994c997a696252e469dc33a47c9864930f2ae24f49f6a3590b7
7
+ data.tar.gz: 70a3797f3924c54fa302845dbabedb34023edbf7d849a13bd428c37425069840c0fe8298d591ca1884b889b158e2804da4176cb62644d08ecd9ac8f92c6e968d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## 2.4.9 (August 21, 2025)
2
+
3
+ FEATURES:
4
+
5
+ - provider/virtualbox: Add support for VirtualBox 7.2 [GH-13709]
6
+
7
+ IMPROVEMENTS:
8
+
9
+ - docs: Update the node version for the docs site [GH-13713]
10
+ - docs: Remove outdated link for Vagrant Cloud [GH-13710]
11
+
12
+ BUG FIXES:
13
+
14
+ - provisioner/ansible: Fix OS version detection, when installing Ansible on RHEL-like operating systems [GH-13701]
15
+
1
16
  ## 2.4.8 (August 05, 2025)
2
17
 
3
18
  IMPROVEMENTS:
@@ -70,6 +70,7 @@ module VagrantPlugins
70
70
  "6.1" => Version_6_1,
71
71
  "7.0" => Version_7_0,
72
72
  "7.1" => Version_7_1,
73
+ "7.2" => Version_7_2,
73
74
  }
74
75
 
75
76
  if @@version.start_with?("4.2.14")
@@ -0,0 +1,19 @@
1
+ # Copyright (c) HashiCorp, Inc.
2
+ # SPDX-License-Identifier: BUSL-1.1
3
+
4
+ require File.expand_path("../version_7_0", __FILE__)
5
+
6
+ module VagrantPlugins
7
+ module ProviderVirtualBox
8
+ module Driver
9
+ # Driver for VirtualBox 7.2.x
10
+ class Version_7_2 < Version_7_1
11
+ def initialize(uuid)
12
+ super
13
+
14
+ @logger = Log4r::Logger.new("vagrant::provider::virtualbox_7_2")
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -105,6 +105,7 @@ module VagrantPlugins
105
105
  autoload :Version_6_1, File.expand_path("../driver/version_6_1", __FILE__)
106
106
  autoload :Version_7_0, File.expand_path("../driver/version_7_0", __FILE__)
107
107
  autoload :Version_7_1, File.expand_path("../driver/version_7_1", __FILE__)
108
+ autoload :Version_7_2, File.expand_path("../driver/version_7_2", __FILE__)
108
109
  end
109
110
 
110
111
  module Model
@@ -31,7 +31,7 @@ module VagrantPlugins
31
31
 
32
32
  epel = machine.communicate.execute "#{rpm_package_manager} repolist epel | grep -q epel", error_check: false
33
33
  if epel != 0
34
- machine.communicate.sudo 'sudo rpm -i https://dl.fedoraproject.org/pub/epel/epel-release-latest-`rpm -E %dist | sed -n \'s/.*el\([0-9]\).*/\1/p\'`.noarch.rpm'
34
+ machine.communicate.sudo "sudo rpm -i #{ansible_epel_download_url(machine)}"
35
35
  end
36
36
  machine.communicate.sudo "#{rpm_package_manager} -y --enablerepo=epel install ansible"
37
37
  end
@@ -67,6 +67,15 @@ module VagrantPlugins
67
67
  })
68
68
  end
69
69
 
70
+ def self.ansible_epel_download_url(machine)
71
+ dist = ""
72
+ machine.communicate.execute("rpm -E %dist") do |type, data|
73
+ dist << data if type == :stdout
74
+ end
75
+ dist.strip!
76
+ dist_major_version = dist.match(/.*el(\d+).*/)&.captures&.first
77
+ "https://dl.fedoraproject.org/pub/epel/epel-release-latest-#{dist_major_version}.noarch.rpm"
78
+ end
70
79
  end
71
80
  end
72
81
  end
data/version.txt CHANGED
@@ -1 +1 @@
1
- 2.4.8
1
+ 2.4.9
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.8
4
+ version: 2.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitchell Hashimoto
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-08-05 00:00:00.000000000 Z
12
+ date: 2025-08-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: base64
@@ -1384,6 +1384,7 @@ files:
1384
1384
  - plugins/providers/virtualbox/driver/version_6_1.rb
1385
1385
  - plugins/providers/virtualbox/driver/version_7_0.rb
1386
1386
  - plugins/providers/virtualbox/driver/version_7_1.rb
1387
+ - plugins/providers/virtualbox/driver/version_7_2.rb
1387
1388
  - plugins/providers/virtualbox/model/forwarded_port.rb
1388
1389
  - plugins/providers/virtualbox/model/storage_controller.rb
1389
1390
  - plugins/providers/virtualbox/model/storage_controller_array.rb