diff --git a/lib/teracy-dev-core/config/virtualbox_provider.rb b/lib/teracy-dev-core/config/virtualbox_provider.rb index d94bdc2..3b3a74c 100644 --- a/lib/teracy-dev-core/config/virtualbox_provider.rb +++ b/lib/teracy-dev-core/config/virtualbox_provider.rb @@ -14,7 +14,8 @@ def configure_node(settings, config) when "virtualbox" # remove any words after the main version # example: 5.1.14r1 => 5.1.141 - current_version = `VBoxManage --version`.gsub /[a-zA-Z]/, '' + # current_version = `VBoxManage --version`.gsub /[a-zA-Z]/, '' + current_version = "#{VagrantPlugins::ProviderVirtualBox::Driver::Meta.new.version}".gsub /[a-zA-Z]/, '' if !TeracyDev::Util.require_version_valid?(current_version, provider_settings['require_version'])