
Oracle VirtualBox 7.2.0
Oracle has released VirtualBox 7.2.0.
The downloads and changelog are in the usual places.
I’ve done an install on a Windows 10 and a Windows 11 PC and it worked fine in both cases.
Vagrant 2.4.9
There is a new new version of Vagrant available. You can download version 2.4.9 from here.
Vagrant 2.4.9 works with VirtualBox 7.2.0, so you are good to go.
Working with Vagrant and VirtualBox 7.2.0
The current version of Vagrant is 2.4.9, which supports VirtualBox 7.2. If you are working with an older version of Vagrant and can’t update it, you can still get it to work by making the following changes.
Edit the “meta.rb” file, adding in an entry for version 7.2.
Windows Path – C:\Program Files\Vagrant\embedded\gems\gems\vagrant-2.4.8\plugins\providers\virtualbox\driver\meta.rb
driver_map = { "4.0" => Version_4_0, "4.1" => Version_4_1, "4.2" => Version_4_2, "4.3" => Version_4_3, "5.0" => Version_5_0, "5.1" => Version_5_1, "5.2" => Version_5_2, "6.0" => Version_6_0, "6.1" => Version_6_1, "7.0" => Version_7_0, "7.1" => Version_7_1, "7.2" => Version_7_2, }Create the “version_7_2.rb” file as a copy of the existing “version_7_1.rb” file.
Edit the file and replace the following.
- 7.1 becomes 7.2
- 7_1 becomes 7_2
This will leave the file looking like this.
Windows path – C:\Program Files\Vagrant\embedded\gems\gems\vagrant-2.4.8\plugins\providers\virtualbox\driver\version_7_2.rb
# Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: BUSL-1.1 require File.expand_path("../version_7_0", __FILE__) module VagrantPlugins module ProviderVirtualBox module Driver # Driver for VirtualBox 7.2.x class Version_7_2 < Version_7_1 def initialize(uuid) super @logger = Log4r::Logger.new("vagrant::provider::virtualbox_7_2") end end end end endEdit the “plugin.rb” adding in a 7.2 entry.
Windows path – C:\Program Files\Vagrant\embedded\gems\gems\vagrant-2.4.8\plugins\providers\virtualbox\plugin.rb
module Driver autoload :Meta, File.expand_path("../driver/meta", __FILE__) autoload :Version_4_0, File.expand_path("../driver/version_4_0", __FILE__) autoload :Version_4_1, File.expand_path("../driver/version_4_1", __FILE__) autoload :Version_4_2, File.expand_path("../driver/version_4_2", __FILE__) autoload :Version_4_3, File.expand_path("../driver/version_4_3", __FILE__) autoload :Version_5_0, File.expand_path("../driver/version_5_0", __FILE__) autoload :Version_5_1, File.expand_path("../driver/version_5_1", __FILE__) autoload :Version_5_2, File.expand_path("../driver/version_5_2", __FILE__) autoload :Version_6_0, File.expand_path("../driver/version_6_0", __FILE__) autoload :Version_6_1, File.expand_path("../driver/version_6_1", __FILE__) autoload :Version_7_0, File.expand_path("../driver/version_7_0", __FILE__) autoload :Version_7_1, File.expand_path("../driver/version_7_1", __FILE__) autoload :Version_7_2, File.expand_path("../driver/version_7_2", __FILE__) endVagrant should now work as normal.
Thoughts
I would not be surprised if we get an update for 7.2.0 really soon. That’s not to say there is anything wrong with 7.2.0, but new released are often followed up with some rapid bug fixes. 🙂
Cheers
Tim…


