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

Enable new linked clones feature for Vagrant 1.8.0+ #181

Merged
merged 1 commit into from Feb 9, 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

Enable new linked clones feature for Vagrant 1.8.0+

Vagrant 1.8.0 introduced the new linked clones feature for much faster
initial imports. However, it is not on by default, so enable it if the
Vagrant version is high enough to support it. (Older versions of Vagrant
will error out on seeing the unknown-to-them linked_clone attribute.)
  • Loading branch information
aneeshusa committed Dec 22, 2015
commit 08d1152ccb93da1820feec2f2c7bd9f0558f508b
@@ -37,8 +37,11 @@ Vagrant.configure(2) do |config|
config.vm.define node[:id] do |machine|
machine.vm.box = node[:box]
machine.vm.provider :virtualbox do |vbox|
# Need extra memory for downloading large files (e.g. Android SDK)
vbox.memory = 1024
# 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
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.