From 090959227eb03496ed9b135cc330aa2d202bc2fa Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Mon, 30 Mar 2020 15:00:43 -0700 Subject: [PATCH] More comments for TODO with cleaning up disks in hyper-v --- plugins/providers/hyperv/cap/cleanup_disks.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/providers/hyperv/cap/cleanup_disks.rb b/plugins/providers/hyperv/cap/cleanup_disks.rb index 825c159aa..bc960b7c7 100644 --- a/plugins/providers/hyperv/cap/cleanup_disks.rb +++ b/plugins/providers/hyperv/cap/cleanup_disks.rb @@ -27,6 +27,11 @@ module VagrantPlugins def self.handle_cleanup_disk(machine, defined_disks, disk_meta) # Iterate over each disk_meta disk, check if it's still defined in the # guests config, and if it's no longer there, remove it from the guest + disk_meta.each do |d| + # find d in defined_disk + # if found, continue on + # else, remove the disk + end end end end