Merge pull request #8955 from jehiah/virtualbox52_8955

Virtualbox 5.2 support
This commit is contained in:
Brian Cain 2017-10-03 13:25:39 -07:00 committed by GitHub
commit 83310f8a56
3 changed files with 18 additions and 0 deletions

View File

@ -62,6 +62,7 @@ module VagrantPlugins
"4.3" => Version_4_3, "4.3" => Version_4_3,
"5.0" => Version_5_0, "5.0" => Version_5_0,
"5.1" => Version_5_1, "5.1" => Version_5_1,
"5.2" => Version_5_2,
} }
if @@version.start_with?("4.2.14") 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_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_0, File.expand_path("../driver/version_5_0", __FILE__)
autoload :Version_5_1, File.expand_path("../driver/version_5_1", __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 end
module Model module Model