Add note about attaching disks

This commit is contained in:
Brian Cain 2020-04-14 14:39:57 -07:00
parent f2bcf86aca
commit ed0fdbf868
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0

View File

@ -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