Add vbox provider driver for 6.0

This commit is contained in:
Chris Roberts 2018-11-06 10:06:09 -08:00
parent de42681742
commit 9d728682c4
3 changed files with 18 additions and 0 deletions

View File

@ -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")

View File

@ -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

View File

@ -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