From 1dbda081d2634f8a15dda7561dfbaa281aa29aab Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Wed, 15 Apr 2020 16:32:08 -0700 Subject: [PATCH] Add notes for creating disk options --- plugins/providers/hyperv/cap/configure_disks.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/providers/hyperv/cap/configure_disks.rb b/plugins/providers/hyperv/cap/configure_disks.rb index f8a43a87a..2826c0baa 100644 --- a/plugins/providers/hyperv/cap/configure_disks.rb +++ b/plugins/providers/hyperv/cap/configure_disks.rb @@ -139,6 +139,13 @@ module VagrantPlugins # Creates and attaches a disk to a machine # + # Extra params: + # - Fixed: true + # - BlockSizeBytes: must be 512 or 4096 + # - LogicalSectorSizeBytes: must be 512 or 4096 + # - PhysicalSectorSizeBytes: must be 512 or 4096 + # - SourceDisk: file path + # # @param [Vagrant::Machine] machine # @param [Kernel_V2::VagrantConfigDisk] disk_config def self.create_disk(machine, disk_config)