vagrant: Use virtualbox linked clones / CoW to reduce startup times

Behaves more like docker now with Copy on Write. More documentation:

 - https://www.vagrantup.com/docs/virtualbox/configuration.html#linked-clones
   (https://archive.fo/Yy6A4)

 - https://www.virtualbox.org/manual/ch01.html (https://archive.fo/1rj4q)

Closes #1551

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Jag 2019-02-24 16:55:18 +00:00 committed by Sunil Mohan Adapa
parent 4df3f10edb
commit 57666b661b
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

1
Vagrantfile vendored
View File

@ -22,6 +22,7 @@ Vagrant.configure(2) do |config|
config.vm.provider "virtualbox" do |vb| config.vm.provider "virtualbox" do |vb|
vb.cpus = 2 vb.cpus = 2
vb.memory = 2048 vb.memory = 2048
vb.linked_clone = true
end end
config.vm.provision "shell", inline: <<-SHELL config.vm.provision "shell", inline: <<-SHELL
cd /vagrant/ cd /vagrant/