From 19147c875c25517d63ba669b0f755b4e4d701908 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Roy-Allard Date: Wed, 29 Aug 2018 08:58:30 -0400 Subject: [PATCH 1/2] Update the Vagrantfile template. Update the property set for Hyper-V Linked_clone. The Differencing_disk one is deprecated. --- templates/Vagrantfile.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Vagrantfile.erb b/templates/Vagrantfile.erb index a4af3de8..3583f9a4 100644 --- a/templates/Vagrantfile.erb +++ b/templates/Vagrantfile.erb @@ -110,7 +110,7 @@ Vagrant.configure("2") do |c| when "hyperv" %> p.vmname = "kitchen-<%= File.basename(config[:kitchen_root]) %>-<%= instance.name %>" <% if config[:linked_clone] == true || config[:linked_clone] == false %> - p.differencing_disk = <%= config[:linked_clone] %> + p.linked_clone = <%= config[:linked_clone] %> <% end end %> From 49d9bf004ea4f926569ec17d73ca882c59fa3be5 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Roy-Allard Date: Wed, 29 Aug 2018 09:04:21 -0400 Subject: [PATCH 2/2] Updating the README.md accordingly for the Hyper-v linked_clone changed --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 88ae5fc9..1d637d59 100644 --- a/README.md +++ b/README.md @@ -374,7 +374,7 @@ Vagrant.configure("2") do |config| # ... c.vm.provider :hyperv do |p| - p.differencing_disk = true + p.linked_clone = true end end ```