From ed0fdbf86861d143b7b457ca02eeac1eacd5732e Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Tue, 14 Apr 2020 14:39:57 -0700 Subject: [PATCH] Add note about attaching disks --- plugins/providers/hyperv/cap/configure_disks.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/providers/hyperv/cap/configure_disks.rb b/plugins/providers/hyperv/cap/configure_disks.rb index 0782d1e9d..f8a43a87a 100644 --- a/plugins/providers/hyperv/cap/configure_disks.rb +++ b/plugins/providers/hyperv/cap/configure_disks.rb @@ -160,9 +160,7 @@ module VagrantPlugins disk_info = machine.provider.driver.get_disk(disk_file) disk_metadata = {uuid: disk_info["DiskIdentifier"], name: disk_config.name, path: disk_info["Path"]} - # This might not be required. If no port is specified, we can just - # attach the disk with the command for hyper-v - #dsk_controller_info = get_next_port(machine) + # TODO: Should we be passing in controller info? machine.provider.driver.attach_disk(nil, nil, nil, disk_file) disk_metadata