Update method docs in hyperv driver

This commit is contained in:
Brian Cain 2020-04-14 13:27:24 -07:00
parent b3a7bd4566
commit 318eb4e65a
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0

View File

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