Merge pull request #10379 from chrisroberts/e-vbox-6
Add support for VirtualBox 6.0
This commit is contained in:
commit
7d90f532c4
|
@ -63,6 +63,7 @@ module VagrantPlugins
|
|||
"5.0" => Version_5_0,
|
||||
"5.1" => Version_5_1,
|
||||
"5.2" => Version_5_2,
|
||||
"6.0" => Version_6_0,
|
||||
}
|
||||
|
||||
if @@version.start_with?("4.2.14")
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
require File.expand_path("../version_5_1", __FILE__)
|
||||
require File.expand_path("../version_5_0", __FILE__)
|
||||
|
||||
module VagrantPlugins
|
||||
module ProviderVirtualBox
|
||||
module Driver
|
||||
# Driver for VirtualBox 5.2.x
|
||||
class Version_5_2 < Version_5_1
|
||||
class Version_5_2 < Version_5_0
|
||||
def initialize(uuid)
|
||||
super
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
require File.expand_path("../version_5_0", __FILE__)
|
||||
|
||||
module VagrantPlugins
|
||||
module ProviderVirtualBox
|
||||
module Driver
|
||||
# Driver for VirtualBox 6.0.x
|
||||
class Version_6_0 < Version_5_0
|
||||
def initialize(uuid)
|
||||
super
|
||||
|
||||
@logger = Log4r::Logger.new("vagrant::provider::virtualbox_6_0")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -58,6 +58,7 @@ module VagrantPlugins
|
|||
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__)
|
||||
end
|
||||
|
||||
module Model
|
||||
|
|
Loading…
Reference in New Issue