diff --git a/plugins/providers/hyperv/driver.rb b/plugins/providers/hyperv/driver.rb index d459905d8..6808a7e67 100644 --- a/plugins/providers/hyperv/driver.rb +++ b/plugins/providers/hyperv/driver.rb @@ -44,11 +44,6 @@ module VagrantPlugins # TODO: Include other options like if disk is fixed or dymanic in opts hash? # - # Example path for default disk location. Should be able to get this - # for new disks and store them in the same folder - # - # C:\Users\vagrant\test\.vagrant\machines\hashicorp\hyperv\Virtual Hard Disks\ubuntu-18.04-amd64.vhdx - # # @param [String] path # @param [Int] size_bytes # @param [Hash] opts @@ -78,10 +73,12 @@ module VagrantPlugins execute(:list_hdds, VmId: @vm_id) end + # @param [String] disk_file_path def get_disk(disk_file_path) execute(:get_vhd, DiskFilePath: disk_file_path) end + # @param [String] disk_file_path def dismount_disk(disk_file_path) execute(:dismount_vhd, DiskFilePath: disk_file_path) end