mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-03 20:39:27 -05:00
Add Vbox 7.2 support (#13709)
* Add Vbox 7.2 support Signed-off-by: Corey Hemminger <hemminger@hotmail.com> * update comment for 7.2 Signed-off-by: Corey Hemminger <hemminger@hotmail.com> --------- Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
This commit is contained in:
parent
0c082e33ea
commit
4978fab045
5 changed files with 37 additions and 1 deletions
|
|
@ -70,6 +70,7 @@ module VagrantPlugins
|
|||
"6.1" => Version_6_1,
|
||||
"7.0" => Version_7_0,
|
||||
"7.1" => Version_7_1,
|
||||
"7.2" => Version_7_2,
|
||||
}
|
||||
|
||||
if @@version.start_with?("4.2.14")
|
||||
|
|
|
|||
19
plugins/providers/virtualbox/driver/version_7_2.rb
Normal file
19
plugins/providers/virtualbox/driver/version_7_2.rb
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# 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
|
||||
end
|
||||
|
|
@ -105,6 +105,7 @@ module VagrantPlugins
|
|||
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__)
|
||||
end
|
||||
|
||||
module Model
|
||||
|
|
|
|||
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
require "stringio"
|
||||
require_relative "../base"
|
||||
|
||||
describe VagrantPlugins::ProviderVirtualBox::Driver::Version_7_2 do
|
||||
include_context "virtualbox"
|
||||
|
||||
subject { VagrantPlugins::ProviderVirtualBox::Driver::Version_7_2.new(uuid) }
|
||||
|
||||
it_behaves_like "a version 5.x virtualbox driver"
|
||||
it_behaves_like "a version 6.x virtualbox driver"
|
||||
it_behaves_like "a version 7.x virtualbox driver"
|
||||
end
|
||||
|
|
@ -12,7 +12,7 @@ Vagrant comes with support out of the box for [VirtualBox](https://www.virtualbo
|
|||
a free, cross-platform consumer virtualization product.
|
||||
|
||||
The VirtualBox provider is compatible with VirtualBox versions 4.0.x, 4.1.x,
|
||||
4.2.x, 4.3.x, 5.0.x, 5.1.x, 5.2.x, 6.0.x, 6.1.x, 7.0.x, and 7.1.x. Other versions
|
||||
4.2.x, 4.3.x, 5.0.x, 5.1.x, 5.2.x, 6.0.x, 6.1.x, 7.0.x, 7.1.x, and 7.2.x. Other versions
|
||||
are unsupported and the provider will display an error message. Please note that
|
||||
beta and pre-release versions VirtualBox are not supported and may not be well-behaved.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue