Merge pull request #6706 from mitchellh/kikitux-patch-1

linked_clone if Vagrant::VERSION =~ /^1.8/
This commit is contained in:
Mitchell Hashimoto 2015-12-24 12:04:30 -08:00
commit 7d79cfd055
1 changed files with 8 additions and 0 deletions

View File

@ -54,6 +54,14 @@ config.vm.provider "virtualbox" do |v|
end end
``` ```
To have backward compatibility:
```ruby
config.vm.provider 'virtualbox' do |v|
v.linked_clone = true if Vagrant::VERSION =~ /^1.8/
end
```
<div class="alert alert-info"> <div class="alert alert-info">
<strong>Note:</strong> the generated master VMs are currently not removed <strong>Note:</strong> the generated master VMs are currently not removed
automatically by Vagrant. This has to be done manually. However, a master automatically by Vagrant. This has to be done manually. However, a master