Update method docs in hyperv driver
This commit is contained in:
parent
b3a7bd4566
commit
318eb4e65a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user