Virtualbox 5.2 support

This commit is contained in:
Jehiah Czebotar 2017-09-08 15:00:17 -04:00
parent 7bb3bd702e
commit 7d73af5637
No known key found for this signature in database
GPG Key ID: 43CA3BC55BBC543F
3 changed files with 18 additions and 0 deletions

View File

@ -62,6 +62,7 @@ module VagrantPlugins
"4.3" => Version_4_3,
"5.0" => Version_5_0,
"5.1" => Version_5_1,
"5.2" => Version_5_2,
}
if @@version.start_with?("4.2.14")

View File

@ -0,0 +1,16 @@
require File.expand_path("../version_5_1", __FILE__)
module VagrantPlugins
module ProviderVirtualBox
module Driver
# Driver for VirtualBox 5.2.x
class Version_5_2 < Version_5_1
def initialize(uuid)
super
@logger = Log4r::Logger.new("vagrant::provider::virtualbox_5_2")
end
end
end
end
end

View File

@ -57,6 +57,7 @@ module VagrantPlugins
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__)
end
module Model