Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure Vagrant version is at least 1.8.0 #240

Merged
merged 1 commit into from Mar 24, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -7,6 +7,8 @@ def extract_id(env)
id[0]
end

Vagrant.require_version '>= 1.8.0'

Vagrant.configure(2) do |config|

if Vagrant.has_plugin?('vagrant-cachier')
@@ -39,9 +41,7 @@ Vagrant.configure(2) do |config|
machine.vm.provider :virtualbox do |vbox|
# Need extra memory for downloading large files (e.g. Android SDK)
vbox.memory = 1024
if Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new('1.8.0')
vbox.linked_clone = true
end
vbox.linked_clone = true
end
machine.vm.synced_folder dir, state_root
machine.vm.synced_folder File.join(dir, ".travis/test_pillars"), pillar_root
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.