Skip to content

Commit

Permalink
Add support for VirtualBox 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisroberts committed Oct 24, 2024
1 parent 71150ee commit c1d5a2a
Show file tree
Hide file tree
Showing 6 changed files with 814 additions and 769 deletions.
19 changes: 19 additions & 0 deletions plugins/providers/virtualbox/driver/version_7_1.rb
Original file line number Diff line number Diff line change
@@ -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.1.x
class Version_7_1 < Version_7_0
def initialize(uuid)
super

@logger = Log4r::Logger.new("vagrant::provider::virtualbox_7_1")
end
end
end
end
end
1 change: 1 addition & 0 deletions plugins/providers/virtualbox/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ module Driver
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__)
end

module Model
Expand Down
1 change: 1 addition & 0 deletions test/unit/plugins/providers/virtualbox/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
require_relative "support/shared/virtualbox_driver_version_4_x_examples"
require_relative "support/shared/virtualbox_driver_version_5_x_examples"
require_relative "support/shared/virtualbox_driver_version_6_x_examples"
require_relative "support/shared/virtualbox_driver_version_7_x_examples"
Loading

0 comments on commit c1d5a2a

Please sign in to comment.