From 318eb4e65add2d2583dd3c76e0c944286783e633 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Tue, 14 Apr 2020 13:27:24 -0700 Subject: [PATCH] Update method docs in hyperv driver --- plugins/providers/hyperv/driver.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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