Skip to content

Commit

Permalink
Merge pull request #26 from datphan/develop
Browse files Browse the repository at this point in the history
@ #19 | use vagrant's version checker
  • Loading branch information
hoatle authored Oct 3, 2018
2 parents 90d300a + e458412 commit 2c8c81a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/teracy-dev-core/config/virtualbox_provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down

0 comments on commit 2c8c81a

Please sign in to comment.