From 93053e04880eb55f7f9a2b7b4b05c2fd5aac8dd2 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Tue, 8 Jan 2019 15:15:00 -0800 Subject: [PATCH] update comments --- common/powershell/hyperv/hyperv.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/common/powershell/hyperv/hyperv.go b/common/powershell/hyperv/hyperv.go index 05e60578d..14eef6b60 100644 --- a/common/powershell/hyperv/hyperv.go +++ b/common/powershell/hyperv/hyperv.go @@ -227,10 +227,8 @@ Hyper-V\Set-VMFloppyDiskDrive -VMName $vmName -Path $null // generate a conditional-free script which already sets all of the necessary // variables inline. // -// $vhdPath = Join-Path -Path C://mypath -ChildPath myvm.vhdx -// New-VHD -Path $vhdPath -ParentPath C://harddrivepath -Differencing -BlockSizeBytes 10 -// Hyper-V\New-VHD -Path $vhdPath -SizeBytes 8192 -BlockSizeBytes 10 -// Hyper-V\New-VM -Name myvm -Path C://mypath -MemoryStartupBytes 1024 -VHDPath $vhdPath -SwitchName hyperv-vmx-switch +// For examples of what this template will generate, you can look at the +// test cases in ./hyperv_test.go // func getCreateVMScript(opts *scriptOptions) (string, error) {